Forums → Programming Forum → New Programmer
I am Tookman, a high school student that doesn't have much experience coding games, but I have experience with just general coding, can someone give me the coding to a simple game so that I can study it to understand more about game coding?
so... it is working?
what is flash's version of python's print?
I don't know anything about python... I suspect the answer to your question is
Honestly I feel like I am repeating the same answers over and over again... Unless if your question is a real one, I might not respond anymore.... Sorry about that.
I've never asked about that before and it didn't appear to work last time I tried.
because I spent hours writing out 'game over' in rectangles last night.
I am not very advanced in programming yet, all my questions so far have been legit besides maybe if Poor Bob is a good name for it, they all helped me.
Thing is trace() in flashdveop only works in debug mode i think. Also if you wish to print something not in the console you will want to use a TextField.
The best way to look up something is learning how documentation works for a programming language. :d
Now how do I set up barriers so that they can't go off the screen?
You literally have to check if 2 objects take up the same space....
if you dont want something to go off screen you just set up the x and y coords :P
As hermit said you just need to check the x and y coordinates in the enterFrame loop. For example:
if (object.x > stage.stageWidth)
object.x = stage.stageWidth;
Maybe you will need to add the object width to the equation depending on the pivot of the image.
You must be logged in to post a reply!
We strive to deliver the best gaming experiences on the internet and on your mobile phone. Play thousands of free online games, get access to free mmorpg games, online rpg games, fun online flash games, and more.
We offer free flash games in many different genres: online shooting games, online puzzle games, online war games, free online car games, free online hidden object games and dozens more.
This is the best place on the web to play online games for free! No matter what game style you prefer, we've got it here.
Want to advertise on Armor Games? Send us a note!
Gaming websites, passionate bloggers, and quirky streamers are welcome to share or review our games. If you need game keys, art, trailers, screenshots or more check out our press kit website.
Game developer? Visit developers.armorgames.com to request AG developer status, find documentation on our APIs, and get access to our development environment. Let's make sweet, sweet games together.
Looking for a publishing partner that can help your app rocket to success? Contact the mobile team to learn more about how we can help!