1. virtual pet mascot

    Virtual Pets

    Welcome to the Virtual Pet list forum!
    We're a virtual pets and sim games community and the largest forum in our industry. Game owners can use our forum to their advatange by promoting/advertising their games to our users and receive feedback/reviews from those members that try their games out. We support developers of all kinds from RPG developers, sim game developers to virtual pet site developers. We want to see more games in our industry come across more success and that's why we try our best to release as many guides/articles regarding online gaming development as we can.
    We're unlike other forums in our industry because we try our best to be there for our users no matter what and give them advice whenever they ask for it. Running an online game isn't an easy task, but with our many resources that we've built since 2011, you'll learn a lot from our online community. Please don't ever be afraid to ask a question on the forums because if you never ask, then you'll never receive an answer to your question and you can only improve by asking other users for help/advice.
    We have a lot of virtual pet sites' owners and sim game owners that are very frequent visitors on our online community. Along with artists, writers and programmers that come here looking for work and games to work for. Our members who are artists sell art in our art marketplace and programmers are allowed to sell their scripts in the programming marketplace. We also allow game owners to sell their game in our general marketplace
    In early 2011, we decided to make a comeback to the internet because in 2010, we had a minor setback and we had to re-launch without any content, but with a lot of time, patience, hardwork and effort, we've managed to rebuild the Virtual pet list community into something better than it was before. We actually registered our domain name on November 4th, 2004, but we were only a directory then and all we had was a basic comments system for users to post things on their favorite games..
    So, what are you waiting for, why don't you join today? If you have any problems figuring out our security code, then here's a hint, it has millions upon users and has been around since 1997.
    Our list of virtual pet sites and directory of sim games have a lot of different games listed, so we're pretty sure that you may find some games that suits your needs as a player of sim games or virtual pet sites.
    If you're still curious about a certain game that you'd like to play, then please check out some of our game reviews that were written by some of our great contributors and our interviews with respective virtual pet site owners, sim game owners, artists, writers and programmers that have worked in this industry.

  2. Check out our latest guide on how to grow your user base!
    Paladore - Boopets - Icepets - Corepets open beta
    Virtual Pet Directory
    Are you looking for new virtual pet sites or sim games to play?
    VPL is looking to hire 2-3 new moderators to help our flourishing community. If you're interested, then please see this thread VPL seeking moderators

Actionscript Learning Resources?

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

  1. Peanut

    Peanut Member VPL Member

    Reputations:
    44
    Joined:
    Apr 16, 2011
    Messages:
    1,628
    Likes Received:
    216
    Trophy Points:
    73
    Gender:
    Female
    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: http://www.layoutgalaxy.com/html/htmnewletter47-page1.htm
    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
     
  2. indysolo621

    indysolo621 Member VPL Member

    Reputations:
    0
    Joined:
    Feb 27, 2011
    Messages:
    1,397
    Likes Received:
    59
    Trophy Points:
    48
    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. Peanut

    Peanut Member VPL Member

    Reputations:
    44
    Joined:
    Apr 16, 2011
    Messages:
    1,628
    Likes Received:
    216
    Trophy Points:
    73
    Gender:
    Female
    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. indysolo621

    indysolo621 Member VPL Member

    Reputations:
    0
    Joined:
    Feb 27, 2011
    Messages:
    1,397
    Likes Received:
    59
    Trophy Points:
    48
    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. Peanut

    Peanut Member VPL Member

    Reputations:
    44
    Joined:
    Apr 16, 2011
    Messages:
    1,628
    Likes Received:
    216
    Trophy Points:
    73
    Gender:
    Female
    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. cpvr

    cpvr Owner and Founder Administrator

    Reputations:
    145
    Joined:
    Jan 20, 2011
    Messages:
    30,824
    Likes Received:
    1,494
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Texas
    Last edited by a moderator: Oct 16, 2013
  7. indysolo621

    indysolo621 Member VPL Member

    Reputations:
    0
    Joined:
    Feb 27, 2011
    Messages:
    1,397
    Likes Received:
    59
    Trophy Points:
    48
    What do you mean? You can just add normal images, such as .png's, .jpg's, etc.
     
  8. Peanut

    Peanut Member VPL Member

    Reputations:
    44
    Joined:
    Apr 16, 2011
    Messages:
    1,628
    Likes Received:
    216
    Trophy Points:
    73
    Gender:
    Female
    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. indysolo621

    indysolo621 Member VPL Member

    Reputations:
    0
    Joined:
    Feb 27, 2011
    Messages:
    1,397
    Likes Received:
    59
    Trophy Points:
    48
    a simple example of drawing an image would be.
    Code:
    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. Peanut

    Peanut Member VPL Member

    Reputations:
    44
    Joined:
    Apr 16, 2011
    Messages:
    1,628
    Likes Received:
    216
    Trophy Points:
    73
    Gender:
    Female
    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. design1online

    design1online Member VPL Member

    Reputations:
    0
    Joined:
    Mar 19, 2012
    Messages:
    112
    Likes Received:
    27
    Trophy Points:
    28
    Location:
    Washington, DC
    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?

    http://jadendreamer.wordpress.com/2...ding-symbols-from-external-swf-game-tutorial/

    Flash forums/programming sites I like:

    http://actionscript.org/
    http://www.republicofcode.com/tutorials/flash/
    http://www.kirupa.com/developer/flash/index.htm
    http://www.flashandmath.com/ -- 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:
    http://help.adobe.com/en_US/FlashPl...sh=cs5&filter_flashplayer=10.2&filter_air=2.6
     
    cpvr likes this.
  12. Peanut

    Peanut Member VPL Member

    Reputations:
    44
    Joined:
    Apr 16, 2011
    Messages:
    1,628
    Likes Received:
    216
    Trophy Points:
    73
    Gender:
    Female
    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. design1online

    design1online Member VPL Member

    Reputations:
    0
    Joined:
    Mar 19, 2012
    Messages:
    112
    Likes Received:
    27
    Trophy Points:
    28
    Location:
    Washington, DC
    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. Peanut

    Peanut Member VPL Member

    Reputations:
    44
    Joined:
    Apr 16, 2011
    Messages:
    1,628
    Likes Received:
    216
    Trophy Points:
    73
    Gender:
    Female
    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. design1online

    design1online Member VPL Member

    Reputations:
    0
    Joined:
    Mar 19, 2012
    Messages:
    112
    Likes Received:
    27
    Trophy Points:
    28
    Location:
    Washington, DC
    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