|
|
|||||
Topic, How to make a Game | ||||||
| ||||||
You must register or log in to post a message.DON'T take me as an example. I highly recommend not to make a game for BL as your first (or even 2nd or 3rd) game. It's much harder than making a normal game. As with all new things, you should start small (making small arcade games like Pong), and as you improve your skills you can try to make bigger, more difficult projects. If you really want to learn programming, since you're young, you might be interested in the Raspberry Pi. It's a tiny $25 computer which you can plug into your TV, and it comes with the software needed to help you learn coding. Maybe you could ask your parents for one? Programming isn't a hobby for everyone, but if you learn it from a young age, it's a very useful and fun skill to have! Good luck :) But yes, coding requires you to have perseverence. When you're learning to code for first time, you might be demotivated because it seems hard. But when you persevere you can achieve this even when you are young. I would write: package folder.subfolder.etc { import flash.text.TextField; import flash.display.MovieClip; // MovieClip extends Sprite public class *classname* extends MovieClip { public function *classname*(str:String) { var txtHello:TextField = new TextField(); txtHello.text = str; addChild(txtHello); } } } Obviously you could apply your example of com.example and Greeter Here's for example how to make the words "hello world" come up the screen in the language you will be using. Just hello worlds as ordinary as possible: package com.example { import flash.text.TextField; import flash.display.Sprite; public class Greeter extends Sprite { public function Greeter() { var txtHello:TextField = new TextField(); txtHello.text = "Hello World"; addChild(txtHello); } } } Secondly it requires you to know highschool level maths (age 14-16 etc.) Thirdly it requires you to have a brain that knows how to fix stuff on creative ways. It's like writing stuff in a language that is entirely made out of keywords, except you're not allowed to make any errors (spelling or grammar) or your whole system will be borked up. |