Join for FREE | Take the Tour Lost Password?
[x]

deviantART

 
About Me Member Flash Designer Computer-Turret17/Male/Canada Recent Activity Deviant for 3 Years
Needs Premium Membership
Statistics 214 Deviations
908 Comments
9,263 Pageviews

Good news all 'round

Sat Nov 21, 2009, 10:39 AM
Thanks to Rob's help we were both able to figure out how to fix Mushroom Man's save/load problems (see [link] for details).
I've been messing around with some things in AS3 and although annoying at first AS3 does have potential for some awesome games that would normally lag like fuck in AS2.

  • Mood: Joy
  • Listening to: New Found Glory -All Downhill From Here

deviantID

Flash Programmer, Spring Board Diver, Forum Goer.

Devious Info

  • Interests: Flash,PhotoShop,Diving,Computers
  • Favourite movie: n/a
  • Favourite band or musician: Godsmack
  • Favourite genre of music: Metal
  • Favourite photographer: Vagrant
  • Operating System: Windows Vista
  • MP3 player of choice: SanDisk e280 8 GB
  • Favourite gaming platform: PlayStation (2,3)
  • Personal Quote: Save yourself and let them suffer.
  • Tools of the Trade: Flash Game Programmer (AS 1,2 and some 3), PhotoShop (CS3)

deviantART Community Board

[x]

Comments


:iconninjapear:
ok deleting the function didnt work what was the other way?

--
[link]

cool game if you like (smashing killing gore stickmen)
:iconninjapear:
oh yea and the (deleter _root.onEnterFrame) or whatever didnt work

--
[link]

cool game if you like (smashing killing gore stickmen)
:iconninjapear:
hi sorry to bother you but i just need 1 more favor i need a preloader in as2 that works with games!

--
[link]

cool game if you like (smashing killing gore stickmen)
:iconcomputer-turret:
[link]
Do something like that in the first frame actions panel, along with a stop() obviously.

--
~Matt, [link]
:iconninjapear:
this is good but in the next scene i cant make make it go past frame 2 or else it goes back to the loading obviously that code lies here

showPL = "Done loading!";
gotoAndStop(2);//goto frame 2, change to whatever you want
}


i just dont know how to fix it

--
[link]

cool game if you like (smashing killing gore stickmen)
:iconcomputer-turret:
It's probably because the onEnterFrame isn't terminated on the second frame, it's carried over.
On the second frame put
delete _root.onEnterFrame;

That will get rid of it.

Likwise you could just put everything in the onEnterFrame function inside a if(_root._currentFrame==1){

--
~Matt, [link]
:iconninjapear:
i figured that was the problem.. thanks! i wont bother you anymore with my little problems

--
[link]

cool game if you like (smashing killing gore stickmen)
:iconninjapear:
im trying to make a inventory in as2
i dont know how do you?

--
[link]

cool game if you like (smashing killing gore stickmen)
:iconcomputer-turret:
There are many ways to do inventory, could use arrays.

--
~Matt, [link]
:iconninjapear:
oh well i got my inventory in a movieClip so i can close and open it but i dont know how to make the first item go to the first slot and second item second slot etc etc etc so how would you write that code
?

--
[link]

cool game if you like (smashing killing gore stickmen)

Site Map