lennaert's Recent Forum Activity

  • I just noticed something in the debugger with my current project.

    when I run the debugger, with the "inspect tab" open, I get constant 30fps ~12% cpu usage

    But when I check the "profile tab", I get 60fps ~13% cpu usage :

    Is it suposed to be this way?, cos I had not noticed that before.

  • I use the center of the tiles and mover objects, their image origin points to be precise (object.imagepointX(0) and object.imagepointY(0))

    When i click a tile which is eligible to have my object move to, I fetch the X,Y of the image points (from click on tile) and set that in 2 instance variable of the object needing to move (lets call them targetx and targety).

    on click tile

    set object.targetx = int(tile.imagepointX(0))

    set object.targety = int(tile.imagepointY(0))

    Then, I have my object.X and object.Y to compare to the object.targetx and object.targety

    Either during a loop or with every tick, you can now determine if the target locations are different from the object x,y location, and if so move.

    crude example:

    every tick

    compare 2 variables

    int(object.x) not equal to object.targetx

    compare 2 variables

    int(object.y) not equal to object.targety

    action:

    object move at angle

    angle: angle(object.x,object.y,object.targetx,object.tagety)

    pixels to move: 50 * dt

    This simply checks if the object x,y is differrent form the target x,y and moves towards the propper position.

  • I ran into this game, play to cure

    Your game play aids in cancer research !!!

    Amazing

    [quote:k1t1zbqg]Play to Cure: Genes in Space is the worlds first free mobile game that uses the collective force of players to analyse real genetic data and help beat cancer sooner.

  • 1. One the binaries would give me an indication of CC performance. I have no use for that. Thus comparing to c2 means nothing to me.

    2. It is obsolete. It is no longer being development and there is a newer version that has taken its place, which is being further developped with far more features.

    3. objects created/manipulated every few ticks in a continious stream, thats not a game mechanic, thats more like a stress test.

    4. I meant exactly what I said, like the mechanic used in point 3. Its not the program (cc or c2) thats flawed, the created mechanic for the test is flawed in relation to comparring it to something usefull like parts of an actual game engine.

    5. yes I did read it, and rendering is fine, but i just called the aqcuired information through these tests useless. Thats why I suggested doing similair tests with programs that actually mean something to the majority of developers here, providing relevant information. That is why people are not interrested. At least, I think.

    And because your not porting an entire game, you will not see the performancce difference in rendering from one game. which is something I am betting a lot more would participate in.

  • Comparing games performance from the high end gamer industry to web based html5 games.

    <img src="smileys/smiley36.gif" border="0" align="middle" />

    I will say there is quite a bit of difference ...

  • png32 is the way to go with construct 2.

  • -,-

    right click example images, save as .....

  • lennaert is this turning into the "How do I" topic, mentioned in first post?

    Your loyalty to C2 is commendable and I share it, but don't let the rose tinted glasses fog your judgement...C2 under performs on average spec hardware...

    And yep, agreed background knowledge really helps, been working in the gaming / PC business for what, about 25 years now...

    Haha, Im simply firing away, as mentioned <img src="smileys/smiley2.gif" border="0" align="middle" />

    ~20 years here, mostly IT tech related and programming, only been into game creation the last few years :)

    You say it underperforms, that suggests you have an equivelant to compare it to ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • BUT,all the tutorials i have viewed totaly suck,

    Thats your problem right there really, you think it sucks !!

    I am betting it is just your imagination.

    Perhaps if you take the time to actually do the beginners guide, you will understand a lot more :)

    edit: littleninjad <img src="smileys/smiley3.gif" border="0" align="middle">

  • In relation to the cc vs bit

    Perhaps a lot dont want to install an older construct version.

    Me neither, the tool is absolete and would require me to learn some basics from an older tool which I will not be using in any near future.

    In relation to the c2 tests

    Looking at the details fo the benchmark test, I see no comparision to how I would run and use things. In fact, I would probably make my programs opposite of your test whahaha <img src="smileys/smiley2.gif" border="0" align="middle" />

    Seriously, when creating events I tend to check the effects of each piece trying to create every event to work as efficient as possible.

    Knowing the max limitations of a flawed programming approach is useless. Not calling your test flawed, but, if someone would implement something like that in his or her game .. that would simply be bad.

    Once a project starts to get more shape and getting bigger, then its about time to test that programs effects on different hardware.

    You could perhaps, make or take an existing game, which works and runs decent, and use that for tests.

    You could do it with different engines and game types, now that would be usefull information.

  • Pixel perfect, I'm guessing he is saying that in order to develop a somewhat best optimised game you should program in code, but that it takes up a lot of time to do it decently.

    I do however see a major advantage in knowing other scripting languages ... understanding those basics, and seeing how contruct interfaces the ide to create exported code, can give an huge leg up in skills and understanding how to apply any potential possibilities, options or approaches and the know how in bug/problems tracing.

    And you are right, you can not tell a customer to upgrade their hardware.

    That is why there are requirements specifications and device limitations.

    Thus testing is crucial on a variety of hardware in order to determine a good hardware range. Preemptively, informing a potential customer what is needed to run th game.

    I some times get the idea from new developers that they look at construct 2 programs like cars, and exepct all cars to be able to run at the same speed. But in fact, the car itself (program) determines the speed, and is obstructed by bad roads (hardware).

  • On the mirror action, set the required angle to self.angle -180

    Also, in many similair cases, developers pin that sort of things to the player. And when they mirror, that objec is mirrored too.

lennaert's avatar

lennaert

Early Adopter

Member since 8 Oct, 2013

Twitter
lennaert has 13 followers

Connect with lennaert

Trophy Case

  • 11-Year Club
  • 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
  • x5
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • 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
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

25/44
How to earn trophies