ggibson1's Forum Posts

  • Use a different set of angles when they are within X distance to the target (e.g. 350 to 0 and 0 to 10 means look sideways when far away but 280 to 0 and 0 to 80 means look sideways when close)... also can change the speed of how often they change direction when close vs far.

  • The biggest thorn in my foot, its complicated math, i dont know how you guys would use sin() , cubic(a, b, c, d, x), qarp(a, b, c, x) etc

    i still have problem with lerp and clamp

    Math is just another Logic language like coding.

    Start simple. Make a capx whose only purpose is to use sin or cubic to move something around and look up simple examples on the internet and recreate them inside C2.... do it over and over until it clicks in your heard what it is doing... after first getting it to work play around with the inputs (a,b,c,d,x) and see how they change the output.

    You can also go to places like (http://www.khanacademy.org/) to learn math in a more simple way.

  • Sure C2 can teach some very high level programming concepts. I meant you don't learn how to do a lot of things yourself which in turn make you a better programmer and more confident in your abilities. Like...probably half of the feature requests I see are for things you can already do with events, but people don't even realize it because they rely so heavily on behaviors and never learned the code. The solid exception feature megatronx just brought up is a great example. People using other engines have already made that feature themselves decades ago with no trouble whatsoever...meanwhile we've been begging for Ashley to add it to the behaviors for 2 years now.

    And sure you can still make your own behaviors with events but I bet you half this community doesn't know how because no one posts that sort of thing...they too just use the behaviors. Thus they are forever stuck in that "noob" phase and limited to the behaviors feature sets.

    I just saw you stated the same thing a little later.

    My question is why do people not spend the time to do this? Events is just as much a part of C2 as Behaviors.

    In the game I spent the past year on I wanted a cross between physics behavior and platform behavior... everyone said "those two do not work well together"... well I spent about four weekends learning to MAKE them work together with events... I learned a lot about C2 during that process and I MADE the computer do what I wanted it to do... and that is how I got good at computer programming back in the 1980s... I refused to let the computer win... Logic + Problem Solving + Trial & Error + Experience + Bull headedness?

    ANYONE can become a very good computer programmer by refusing to let a problem beat them... by time they get it figured out and working they have learned a lot and have become better for the next problem.

  • Interesting that these two comments below showed up next to each other... try this... make a new capx that does NOT use the solid behavior and code one yourself in C2 events that runs every tick which checks for overlapping rectangles and pushes any rectangle that crosses back out one pixel so it does not overlap... this will show you that it is just Logic and both code and C2 events are just Logic...and that you can either use Behaviors (code components) for speed or make your own with Logic if they do not have all the features you want.

    [quote:1jj44w39]@megatronx

    That's why instead of long events I break them in to smaller parts, put them in to separate event sheets and chain them with functions most of the time. Much easier to find an issue if there is one.

    But what pisses me off about construct is that I just can not do certain things with events. Like the infamous solid behavior limitations.

    [quote:1jj44w39]

    Tokinsom

    Far as I'm concerned, the behaviors and all the built in stuff are to blame. Most other engines have you make your own platform engines and such, as well as level editors, data tools, etc. With C2 you don't really learn much of anything...so if you start with C2 you'll likely always be a "noob". Not to say I don't appreciate behaviors and all, but ultimately we'd be better off with more features to make our own exactly how we want..

  • Logic + Problem Solving + Trial & Error + Experience is all you need... the tool doesn't much matter.

  • Shouldn't the property name be "background" instead of "monster_bar" and the value "#ff3019"?

    That tutorial you were looking at is basically just showing how to parse a blob of CSS into individual CSS "property name + value" events.

  • Is it "windowed" in anyway i.e. title bar or scrollbars where it would be different per OS? Or is the game taking up all of the full screen?

  • Browsers do not allow that for security reasons.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What browser? Is there a zoom level set in the browser?

  • Browsers do not allow that kind of control of the mouse (the OS controls the mouse)... (http://stackoverflow.com/questions/4752501/move-the-mouse-pointer-to-a-specific-position)

    This can probably be solved as a movement type by using the custom movement behavior (https://www.scirra.com/manual/92/custom-movement)

  • This isn't the same technology, but may have a similar solution:

    https://www.scirra.com/forum/in-app-purchase-issue-ios-cocoonjs_t112489?start=60

    Quoted from that link:

    simply you need to put this events:

    "on product fetch complete > update product list"

    you must update products list to be able to take the varius products's proprerties (such as price, name, description ecc...)

    Basically maybe you need to refresh something before the status shows up?

  • To narrow down the possibilities create a brand new project and only add enough to it to play the video and move to another blank layout. If that works look at the difference between the two projects.

    If the same issue is happening then post the capx of the new test project or at least a screenshot of the events so someone can help diagnose.

  • Looking for reasons to be offended is no way to go through life.

  • Please don't patronise me. I am more than capable of using a search engine. I haven't found a solution I have been able to implement.

    If anyone else has anything worthwhile to contribute I'd really appreciate any help.

    Did you bother reading any of the matches for the search engine? The issue is fully explained and is not a C2 issue. You should set this up on your server or contact your hosting provider to get the issue fixed.

  • Thanks! Here's what I got...

    XMLHttpRequest cannot load http://nsgames.nfshost.com/testalert.txt. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:50000' is therefore not allowed access.

    How do I fix that?

    http://www.bing.com/search?q=%27Access-Control-Allow-Origin%27+&qs=n&form=QBLH&pq=%27access-control-allow-origin%27+&sc=8-30&sp=-1&sk=&cvid=1ce44841a1c546968b282332a55704d1