Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Tile Based Game

Started 11 months, 1 week ago by louis11
I'm attempting to create my first game. I have been following a few tutorials, and all seemed to copy a lot from: http://oos.moxiecode.com/tut_01/index.html The tutorial itself is great, however when I tried to follow it my code wasn't working. I noticed in my actionscript that a few commands where highlighted yellow, and the tooltip said I needed to 'export in flash 6 to use the this...
Site: Flash Kit Community Forums  Flash Kit Community Forums - site profile
Forum: Games  Games - forum profile
Total authors: 11 authors
Total thread posts: 31 post
Thread activity: no new posts during last week
Domain info for: flashkit.com

Other posts in this thread:

bluemagica replied 11 months, 1 week ago
I don't exactly know what the problem is, but you shouldn't follow those, rather try tonypa's tutorials which are the best ones, and he has both as2 and as3 versions(you should try and learn as3 if you wanna make real games) http://www.tonypa.pri.ee

tonypa replied 11 months, 1 week ago
Flash has changed over the years, tutorials and code written for Flash5 does not always work with newer versions.

renderhjs replied 11 months, 1 week ago
neither can that really be called learning

Squize replied 11 months, 1 week ago
And why not ? Should everyone read a tutorial and then re-code it themselves in their own style, otherwise they're not learning ? Those tuts are how I learnt tile based worlds in actionscript, and I just pasted that code in first time around. louis this isn't deprecated, looking at that code quickly, everything should be fine ( Are your settings for as1 ? You can still publish for ...

louis11 replied 11 months, 1 week ago
Quote: Originally Posted by bluemagica I don't exactly know what the problem is, but you shouldn't follow those, rather try tonypa's tutorials which are the best ones, and he has both as2 and as3 versions(you should try and learn as3 if you wanna make real games) http://www.tonypa.pri.ee I started going through...

pseudobot replied 11 months, 1 week ago
Using _root is not a bad coding habbit. What they are reffering to is adding onEnterFrames to the movie clip instead of having all the code on the main timeline. And when you have all of the code on the timeline, you are not going to have to use "_root" as much as you do. "_root" just means the stage - so if a movie clip is on the "_root" level, it just means it is at stage, not nested in ...

louis11 replied 11 months, 1 week ago
Quote: Originally Posted by pseudobot Using _root is not a bad coding habbit. What they are reffering to is adding onEnterFrames to the movie clip instead of having all the code on the main timeline. And when you have all of the code on the timeline, you are not going to have to use "_root" as much as you do. "_root" just means the ...

louis11 replied 11 months, 1 week ago
Quote: Originally Posted by pseudobot Using _root is not a bad coding habbit. What they are reffering to is adding onEnterFrames to the movie clip instead of having all the code on the main timeline. And when you have all of the code on the timeline, you are not going to have to use "_root" as much as you do. "_root" just means the ...

tonypa replied 11 months, 1 week ago
My AS3 version uses tilesheets instead of movie clips: http://tbg.tonypa.pri.ee/index.html

louis11 replied 11 months, 1 week ago
Quote: Originally Posted by tonypa My AS3 version uses tilesheets instead of movie clips: http://tbg.tonypa.pri.ee/index.html Ah, I hadn't seen these tutorials yet! Guess I was looking at the ones for flash 5. Either way they are great I'll look them over! Thanks

 

Top contributing authors

Name
Posts
louis11
8
user's latest post:
Tile Based Game
Published (2009-01-10 16:10:00)
Quote: Originally Posted by Incrue And what if the tile is not suposed to show just a static image, i mean,if its fire or water, isnt best the old way, with MovieClips? Not sure if this is what you want, but there's some info on tonypa's tutorials about animated sprites http://tbg.tonypa.pri.ee/tut07.html
renderhjs
5
user's latest post:
Tile Based Game
Published (2009-01-08 04:34:00)
neither can that really be called learning
Incrue
5
user's latest post:
Tile Based Game
Published (2009-01-10 15:37:00)
Quote: Originally Posted by tonypa My AS3 version uses tilesheets instead of movie clips: http://tbg.tonypa.pri.ee/index.html And what if the tile is not suposed to show just a static image, i mean,if its fire or water, isnt best the old way, with MovieClips?
tonypa
4
user's latest post:
Tile Based Game
Published (2009-01-09 03:36:00)
My AS3 version uses tilesheets instead of movie clips: http://tbg.tonypa.pri.ee/index.html
bluemagica
2
user's latest post:
Tile Based Game
Published (2009-01-08 03:25:00)
I don't exactly know what the problem is, but you shouldn't follow those, rather try tonypa's tutorials which are the best ones, and he has both as2 and as3 versions(you should try and learn as3 if you wanna make real games) http://www.tonypa.pri.ee
Pazil
2
user's latest post:
Tile Based Game - Page 2 - Flash...
Published (2009-01-18 21:42:00)
Oh my gosh! You've always been using oop with Actionscript 2.0 already!!! Whenever you start working with properties of movieclips, bitmapData's, all that, IS OOP. Now what part do you not understand: "AS3.0 is a lot faster, because you make your own classes, which are not as bloated as built-in AS2.0 classes!!!" It seems as though you don't read posts properly...just sort of skim over them.
TOdorus
1
user's latest post:
Tile Based Game - Page 2 - Flash...
Published (2009-01-19 07:20:00)
Right, let's go offtopic and be real anal as to what the sentence "as3 is all about performance" means when taken out of context, instead of listening to the point that render made with it, even AFTER he made it explicit. Jeez.
Squize
1
user's latest post:
Tile Based Game
Published (2009-01-08 06:12:00)
And why not ? Should everyone read a tutorial and then re-code it themselves in their own style, otherwise they're not learning ? Those tuts are how I learnt tile based worlds in actionscript, and I just pasted that code in first time around. louis this isn't deprecated, looking at that code quickly, everything should be fine ( Are your settings for as1 ? You can still publish for Flash9 even with as1. Having it set to as2 may throw...
pseudobot
1
user's latest post:
Tile Based Game
Published (2009-01-08 22:04:00)
Using _root is not a bad coding habbit. What they are reffering to is adding onEnterFrames to the movie clip instead of having all the code on the main timeline. And when you have all of the code on the timeline, you are not going to have to use "_root" as much as you do. "_root" just means the stage - so if a movie clip is on the "_root" level, it just means it is at stage, not nested in...
Awoogamuffin
1
user's latest post:
Tile Based Game
Published (2009-01-10 12:22:00)
Hey tonypa, your tutorials look fantastic, but the links seem to be broken starting with the "stupid enemy" tutorial. I want to know about the stupid enemy!

Related threads on "Flash Kit Community Forums":

Related threads on other sites:

Thread profile page for "Tile Based Game" on http://www.flashkit.com. This report page is a snippet summary view from a single thread "Tile Based Game", located on the Message Board at http://www.flashkit.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity