jayderyu's Forum Posts

  • Honestly I think the one your using isn't very future ready. It's very locked to a set of words and requires additional Event for each word.

    Instead you should use an Array and do a

    ====

    Array.hasValue( trim( inputbox.text ) )

    --> Do actions

    ====

    However that would require either initiating an array on the game start by

    Array.setX(0, word)

    or using a dictionary and taking advantage of tokenate

    so create a file with

    happy, smile, sun, good, mom, dad, green,......

    then use AJAX

    ===

    On StartUp(do this for game start)

    • ajax.load(dictionaryfile)

    On AJAX LOAD

    • repeat (tokenatecount(ajax.lastdata), ",")

    -- array.push to back on X with value trim(ajax.lastdata(tokenate, loopindex, ","))

    and there you go. An easy way to add LOTS of words without adding in any more events.

  • So you also sell code or in C2 CAPX?, plugins?

    I noticed that there is a %30-70 commission. What rate determines what?

  • You can try going into the file.caproj file which is an XML file. Look near the begginning for plugins.

    However and often a mistake for new devs. Is that removing the actions of a plugin does not remove the the fact that the plugin is still in the project objects list.

    Instead of removing the actions. it is best to remove the plugin from the object list and remove the behaviour from objects.

    For you. Install the plugin back in as it is still in the Object lists. Then remove the plugin from the objects list.

    Personally plugins are great. But I like to temper the use to see if it's really needed.

  • My suggestion is following squidsters signiture link. that's his sample and applies pretty much to what your looking for.

    However there are other ways of doing it. So it's not much "can C2 do this". it's more can I do it. And the answer is yes. yes you can do it :)

    If you looking for a radial based collision. Then C2 doesn't offer that. C2 offers a poly collision system with up to 8 points to make the poly. However it should be noted that 3D games use Triangles(3 point) to use for objects. So there really isn't any reason not take advantage of the triangluar shape to do circular platform. Since 3D games already do so.

  • well at this point we need a CAPX or an image of your Eventsheet to offer more assistence. We would just be taking guesses as to what the problem is.

    To share a CAPX. you can upload a file to google drive or dropbox. Then copy and paste the URL. Even if there is no link we can still use the address.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have interest yes, but not at this time. I will however keep this thread in mind when I do need one. So for now these are more suggestions than committing.

    1. hmm. a 0z Isometric capx. I'm a cheap skate. So you can assume others would pay more. $50.

    2. Diablo style of movement or x-com either really.

    3. I use paypal. I'm not so sure about bitcoin yet. Since it seems to be it's based on it's own currency value. I am hesitent to do purchasing through bitcoin. but maybe I just need to read more.

    I also have the an idea where your coming from on the financial aspect :|

  • Yes it's your drivers. Intel Graphics cards I find are still often Hit and Miss. It's great that Danialgoodwin Intel card is working, but... well it's Intel. It's not that I think Intel makes bad GPU's. It's just that it seems support isn't as prompt.

    So to re-itterate make sure your drivers are up to date

  • Well the one where it says in the CocoonJS plugin to either use CocoonJS Accelerated Physics or Standard Web based. I assume your using the CocoonJS plugin.

  • that answers that. Laptops reduce the GPU power use down to %75 or so. If you want to remain at 100% your going to have to modify that setting.

    Your going to have to google that. But I know the settings exist. My wifes latop would crash when the GPU ran at %95+ but fine at 95 and less. So i had to set the setting while plugged in to run at %95. No problems since then.

    So hunt the setting down and you will be fine at Ludum dare.

  • Looking good OliverC. I'm impresed. Keep it up :)

  • 8Direction movement already comes with with movment on direction. So why are you adding extra movement code? As I see it your 8Direction is never used. You should remove the move 1 pixel at angle X. then give your 8Direction an acceleration value say 1500.

    so here is what is happening. Your not using 8 direction at all. *direction has it' own math to move the position values of the sprite. Instead your doing a

    Onkeyboard then do move. Which has nothign to do with 8 Direction.

    But since Keyboard works indenpendently of 8Direction. Pressing 2 direction keys at once will evaulate both to truee. and thus you will get diagnol movement.

    that's why it's not working.

    RecGames makes a good point. Is your animation walking? and is it set to loop?

    Also have you done the first tutorial. Teaches the basic fundamentals or is this a muddle the way through? I found muddling very hard and had to work throught he first tutorials.

  • oh. here is an alternative

    Event On P Pressed

    --Action: set state = (state == 1 ) ? 2 : 1

  • I notice people tend to miss this. Code is an In ORder of operation. You must have a data of logic flow. You example actually is very clear on the error made.

    if(state = 1) then state = 2

    if(state = 2) then state = 1

    the Keyboard on pressed state will be TRUE for the entire tick and not just one event. So we can technically just view the two lines of code as always true.

    So let's re-examine those lines

    Layout start: state = 1;

    ----

    if(state = 1) then state = 2 // now the state is 2

    if(state = 2) then state = 1 // since the state was set to 2 in the last line. The condition is now true. Now state =1 is being set.

    so in the same tick of Pressed you evaulate both condition as true.

    Instead what you want is

    Event: If P is Pressed

    Sub Event: if state == 1 then state = 2

    ELSE

    sub Event: if state == 2 then state =1

    actually you can skip the if state==2 as the ELSE condition covers that.

    Also when you need to pause make sure to set yout timescale to 0 :)

  • IJCT

    I've head of this coming up before. I've had this problem, but only with games with assets running up to near 100mb compressed. How big is you game? Are you using any images above 2048x2048, are you using any DOM elements(TextBox), are you using Physics?

    If your using Physics Ludie CJS often doesn't keep Scirra and especially the plugin up to date. Ashley won't work on it any more due to the lack of Ludies efforts of communication. If that's the case you will have to NOT use CocoonJS physics.

  • yeah it is amazing. I'm trying to figure out how the facing works. There doesn't seem to be any control. But I could be just missign it.

    But after playing with it. It is a little short from being fully comercial ready. but I'm sure we could make some games with it :)