Jase00's Recent Forum Activity

  • +1 , I was thinking about this a lot today too! A sort of "Tick Wait" where we can specify the amount of ticks to wait. :P

  • This is going to be a very messy post but hopefully you'll get something out of this :P

    (Edit: This is all kind of pointless if you already understand how stuff works, my main focus on writing all of this post was that it's pretty straightforward to do without "lists" and using what we already have.)

    All this is totally possible with Arrays and Instance Variables (and webstorage for saving). When using Arrays, the information in the Array is global, so can be accessed in all layouts. I guess the 1 'eh' thing is that yeah, with Arrays you have to remember the index number for things rather than using words, but I don't think it's too big of a deal, it never bothered me really. Also, I'd have multiple Arrays for different things, such as Character attributes (however, In my own project, I didn't make an array for this, I stored it in webstorage and loaded when I needed, can't remember why I did that way), Inventory items, Skills. I set my Arrays out like so:

    Inventory Items

    X (Character ID, every character in-game has a unique ID assigned to them)

    0= Bob

    1= Fred

    2= Bum

    3= Jesse

    Y (Inventory Slot. Where the item will be placed in the list(nothing needs to be entered into these parts of the array))

    0

    1

    2

    3

    Z (Item attributes)

    0=[Name of item]

    1=[Description of item]

    2=[Level required]

    3=[Str]

    4=[Dex]

    5=[Int]

    6=[Luk]

    (so for example)

    0=Super mega sword

    1=This sword is the most mega awesome sword ever.

    2=50

    3=20

    4=10

    5=-6

    6=0

    And there you would have your item in an inventory that can be accessed and placed correctly in a list by using the right events :P making "sorting" and whatnot isn't too hard as long as you know what you are doing and know a bit about arrays (I barely know much about arrays and probably use a stupid method)

    I remember storing the player attributes like so:

    If a player's stat changed (for example, level up), I'd do a webstorage event to write an expression like this:

    ["Char" & Player.CID & "Level"] to Player.Level

    "Char" is to tell the webstorage that this is to do with Character stuff.

    "Player.CID" is an instance variable that is storing the ID for the character (so that webstorage knows which characters level it is changing)

    "Level" just lets it know what attribute we are dealing with

    "Player.Level" is the players level which gets set into the location of the expression.

    So the expression ends up looking sorta like:

    Char3Level= 69

    This is very easy to load back in a later time. Upon creating and assigning the ID onto a player, you can then "Set instance variable" to the players "Level" to ["Char" & Player.CID & "Level"]. And Volia, you have a saved attribute unique to a specific character! I did this for all attribute stats like HP, MaxHP, MP, Level, Str, Dex, ect.

    Sooooooo yeah this was probably the most confusing post ever, and I don't mean to explain stuff you may already know, but yeah I'm mentally exhausted but wanted to try and help nonetheless, since I love RPG's and know how annoying they are to deal with!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • thehen , I had it working for a while, loaded my game through the browser and got a glimpse of it (Hooray it was around 25-30fps on a very empty level with quite a few physics stuff going on), but eventually the emulator just froze (only the stream of the mobile phone, i could still click and right click but the phone stream had frozen) and so I rebooted the phone, and whilst I waited I went to another Tizen phone for 30 mins and it gets stuck at the splash screen with "Loading screen". I tried ANOTHER Tizen phone after that for 30 mins and again "Loading Screen" stuck. I don't understand why, everything seemed fine the first try lol :(

    I'm down to 8 credits already haha, this is very fiddly stuff. I guess if I don't get this working, I'll just intensely analyse the Debug Profiler on Construct 2 and hope for the best :P

  • thehen Yeah I fiddled around with Java and managed to get it running :P Ahhhh I get it now, so it's gotta be loaded through it's browser rather than installed as an app, makes sense! Will try that out :P

  • thehen , That is EXTREMELY useful, it's exactly what I need! Many many thanks!

    EDIT: I got as far as getting into the emulator, but I have no idea how to install a Tizen-exported C2 project onto it. I have an export sitting there, just not sure how to install... :P

  • Hey!

    I'm really getting in to Tizen thanks to the competition and the fact it's a LOT simpler to develop for since it supports pretty much everything, and has direct export in C2 (and Scirra has partnered with Tizen, so yeah Tizen seems like the way to go!)

    However, developing my game to enter into the competition, I'm wary about performance as I use quite a lot of physics objects in my project and I don't have a device to test with. This leads me to two questions:

    1. What IS the performance like with physics?

    2. Is there any way to emulate Tizen in terms of emulating the phones CPU, GPU, RAM, to see how it performs without owning a device? (I'm aware of the web simulator, but I'm not sure if that's emulating the hardware)

    I don't see too many threads about Tizen on here, I'm not sure if people just don't have much to ask or if all information is already out there somewhere (I tried to search a bit :P), though I'm sure others may be curious about this too! xD

  • Hold on, that's quite weird; I'd done a system restore recently too and my performance has been lower since then. I'm gonna go update my drivers and whatnot, maybe you should too :P

  • Hmm, well, if you had 60fps on 145, 30fps on 146, then downgraded back to 145 and get 30fps, then that would probably mean that's your computer and not C2 :P However, I have been noticing MY experience with running my C2 projects has been getting lower and lower FPS over time too, but I do a lot on my computer so I can safely bet it's that. Might wanna check your Task Manager and see whats up.

  • Thanks GenkiGenga! I've surrounded myself with this game a bit too much and worry that it's becoming a lot less fun than it should be. :P

    I hope to soon put a demo or something on the Scirra Arcade!

    Also, two more videos! :

    [TUBE]http://www.youtube.com/watch?v=k659mLI0DV0[/TUBE]

    [TUBE]http://www.youtube.com/watch?v=nFERXvmy1Fs[/TUBE]

  • Wow this project looks pretty awesome. Being an avid Sonic fan myself whom wishes Chao was featured in the newer Sonic games, this interests me!

  • Haha this was so amusing to play :P

Jase00's avatar

Jase00

Member since 5 Jan, 2012

Twitter
Jase00 has 11 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x15
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x7
    Lightning Draw First person to up-vote a new Construct 3 release
  • x7
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

26/44
How to earn trophies