Be a Supporter!

Game programing troubles

  • 235 Views
  • 0 Replies
New Topic Respond to this Topic
happymushroom
happymushroom
  • Member since: Apr. 2, 2012
  • Offline.
Forum Stats
Member
Level 08
Filmmaker
Game programing troubles Nov. 24th, 2012 @ 04:25 AM Reply

I am working on a game for iPhone in AS3 flash cs6 that I plan on porting to computer later on. I've made a basic game engine with a player and parallax scrolling. my problem is that i cant seem to get the player to hittest the platforms witch are within a spright. i tried using a bitmap hittest but it isn't working. a small bug i couldn't work is that the parallax scrolling is not keeping sync with the player causing white bars at the edges of the level. i was hoping someone could help.

also as a bonus anyone can use my code in their own project if they want.

Files (cs5 and cs6): http://www.newgrounds.com/dump/item/48e5baadeda2db5c0b2328b2 dfa37616


42