Virtual pets and Sim games community

Would you like to become a member of the most successful virtual pets and sim games community on the internet? Virtual pet list has been opened since 2011 and we've been providing game developers(owners), artists, players and writers with the most relevant, up to date, quality and in depth content covering the entire online pet games, sim games and browser based games industry. So, if if you're interested in discussing virtual pet games, game development or online sims, our flourishing forum is perfect for you. Our sneak peeks forum is designed for new owners to showchase their upcoming in development games.

You can learn how to manage, make money and learn all aboutonline pet game management or discuss the best ways of developing a sim game. Find new sites to play in our online games directory. Currently, there's a total of over 80 pet games and over 70 sim games in our directory. So, feel free to post a review, a comment, or leave a like on any online game that we have listed. If you like a game that we have listed, please help us out by sharing it on social media.

  1. An upcoming virtual pet site that's owned by one of our moderators, Pepper-headIn icey them pet game Kaylune, a virtual pet site Breed online pet eliyo
    Managed Web Hosting by Liquid Web breed horses on this very active sim game

    Browse our Online Games Directory
    Admin and webmasters community - Browser games Beastkeeper
    Gaming Reinvented

Actionscript Learning Resources?

Discussion in 'Programming General' started by Peanut, Jun 14, 2012.

  1. Okay I have a book on Actionscript. Very frustrating and confusing.. it's probably because I can't even start to CODE actionscript at all because I don't know one bit about frames and the timeline for Flash.
    Everytime I go through a game tutorial for Actionscript, they just run through creating the objects and everything without even explaining what they are doing..

    Is there any good resources out there that people recommend to learn how to create Actionscript games? I don't mind starting out with super simple ones, but for godsake, I couldn't even do the Balloon Shooter here:
    I know it's because I don't even know how to use Flash. This is the first time I've ever opened this program from the months that I've had it.

    Or do people recommend using HTML5? I know HTML5 seems to be better to most people, but I still have a strong love for Actionscript from the Neopet days XD
    origins virtual pet site origins kickstarter
    origins virtual pet site origins kickstarter

    Your banner/button can be located here for an entire month or year, please see our advertising on virtualpetlist thread for more information.

  2. I'm in the same boat as you are. I have looked at tutorials and everything for actionscript, to try to code flash games, and I don't understand any of it. If I were you I would try HTML5. It was a lot easier for me to grasp. If you already know javascript it will make it a lot easier.
  3. Yeah I know Javascript very well. I thought HTML5 required a canvas to make games like Flash has??
    Wow if I can just get straight to the code within minutes, I rather do HTML5. This Flash Professional program makes me want to throw my computer :p I want Photoshop lol.
  4. Yes it does. But it is just an element. ex: "<canvas id='canvas' width='400' height='300'></canvas>". Really simple. Then there are functions to draw images, shapes, text, etc. on the canvas which take a little bit to get used to but are really easy. The more complex stuff is just when you start with game logic.
  5. You can't import like Photoshop images? How do you do intense graphics with code?.. D: I would think you would need a program for that. Can you only do like triangles and stuff? XD
  6. #6 cpvr, Jun 14, 2012
    Last edited by a moderator: Oct 16, 2013
  7. What do you mean? You can just add normal images, such as .png's, .jpg's, etc.
  8. Oh maybe I just don't understand the whole concept of drawing images with Canvas then XD I thought you had to draw images with code or something..
    Where do you start out learning this if you don't mind me asking?
  9. a simple example of drawing an image would be.
    var canvas = document.getElementById('canvas');
    var ctx = canvas.getContext('2d');
    var image = new Image();
    image.src = 'test.png';
    ctx.drawImage(image, 0, 0, image.width, image.height);
    That's a pretty basic example of how to draw 'test.png' starting at 0,0 on the canvas. I'll look for a good tutorial for you.
  10. Yeah :) I'm reading my HTML5 Games book finally that I bought a while ago. :) I learned how to draw a smiley face XD
  11. Um, I have a simple flash game tutorial and source code on my blog and I can give you a link to a lot of the sites I like, but most of them also assume you understand how flash works, especially tutorials with AS3 since AS3 is completely event driven and most people using AS3 have been programming in AS2 for years at this point. Have you tried taking some basic flash tutorials on the Adobe website?

    Flash forums/programming sites I like: -- good for mathematical equations you need to re-write in actionscript

    And of course the Adobe flash docs will have reference for everything you need to know but it's hard to search for something specific unless you know package info:
    • Like Like x 1
  12. Awe thank you for all the resources. I've kind of adapted myself to HTML5 though since I can still use Photoshop with it and such. :) Thank you though!
    I may get into Actionscript when I have more time to learn a whole entire program. I was getting so frustrated because I had to look up simple steps like adding a stroke to text and.. the layers with converting symbols just did not make any sense to me. Same with the keyframes.. I had no idea what it was even doing and then when I converted a symbol, it wouldn't let me select it and write AS3 code on it because it was considered an 'object' and you can't write code while selecting an object.. but that's what the tutorial was telling me and then it made no sense XD Don't know.
    I'll definitely learn it when I'm graduated so I can take the hours to sit down and just learn a whole new program.
  13. It sounds like the book you were using was for AS2 and not AS3. In AS3 you can't write code on specific assets, only on frames or by loading an actionscript class file. Best of luck to you in the future :)
  14. No it was designed for AS3. I was using a tutorial that might have been AS2.. it didn't say. But I Have Flash CS5 and the tools and locations are way different than what they were using so that might have been the reason I couldn't follow along that great.
  15. Yeah if they were telling you to put the actionscript on the symbol then it's an AS2 tutorial. There's actually a setting in CS4 and CS5 that will let you pick if you want to do a AS2 or AS3 project. If you'd picked the AS2 one you wouldn't have had trouble with the tutorial from the sounds of it. Just something to keep in mind if you ever go back to it in the future. I would switch to HTML5 myself but until it gets better support on all browsers and the sound issues are ironed out I think Flash is still the better choice. You also have the problem that there's no great way to include/not include files and you can view source on everything unless you obfuscate it which still isn't 100% fool proof.

Share This Page

  • About VPL, the #1 forum for pet sites, and online sims

    We are an online community of passionate artists, writers, game developers and general users who have a vested interest in virtual pet games, game dev & sim games. Our members are from different backgrounds and yet we group together with one goal, to ensure our pet games, game dev, and sims forum is one of the best!
  • Like VPL on Facebook!

  • Support VPL

    If you love our community and you'd like to help us cover our monthly costs, we'd greatly appreciate it if you could help us out by supporting us! If you can't donate, we totally understand. You can also support us by using our social media sharing buttons or by writing about us on other sites.

    Donate to VPL!