jayderyu's Forum Posts

  • This is how you declare a function

    Event: Function.On Function("function_name"). <===== declared

    that's it. that's the deceleration. There is no more.

    That's how you call a function.

    Action: Function.Call("function_name")

  • I would pretty much drop C2 in an instance the day they changed the license to a subscription model. I would pick up GMS instead. I won't pay a subscription on tool sets. Ever.

    Software is not the same kind of maintenance service as say a cloud service. It get's updated, but only to increase the value of a sale.

    bad bad bad idea.

    Though i won't mind if they start adding cheap packages of bonus features. CHEAP

  • lunarray

    Well personally. I think just polish it up, fix any bugs. Then it's done. Though a ping-pong setting would round it out. Past that It seems LiteTween for tweening looking really good :)

  • Is there a C2 Plugin for the broadcaster, or just client so far.

    As it is right now. It's a very rudimentary, and is only a websocket + channel.

  • Could you please summarize. I don't use beta's most of the time. the sample is in r135, i'm still lingering on 132.

  • lunarray

    Some updates. I need to use "Set Tween Proprty" before being able to use SetTarget"

    If I use SetTarget and specify any of them. Then by default that should be used. right now I need to

    set tween property height

    set target height (relative) value

    Suggestion

    is there a repeat option? once an animation type start. it would be fantastic to have an option for it to continue until otherwise specified.

    suggestion

    you might want to change "duration" to "animation time". I for some reason thought "duration" was the total length of duration while trying to get an obect to pulse :D

    bug

    the reported value for duration is {1}, I think it is supposed to be {0}. I don't see the duration amount I see {1}

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • lucid

    any news on re-import and mobile xml fronts?

  • DatapawWolf

    You could make the game you want with C2. It all comes down to time and investement. In some cases you are going to have to do a lot of ground work to fortify the parts that C2 doesn't cover. Custom plugins etc. But likely not so much.

    I like you am designing a overall game, by developing it in small parts. Good luck :)

    As for WebSockets. You can make Realtime game play with Websockets just fine. However, you need to keep in mind idea usage and expecations. TCP is not ideal for high paced competitive gaming. Mostly shooters(Call of Duty, Halo) and Fighters(Street Fighter). This only really applies to competative gaming. In non compatative gaming you can usually get a way with it. And games that aren't high twitch you will be ok too. I month and little bit ago I wrote a websocket top down shooter in C2. Played fine as long as the ISP and connection was good. Played people from West Coast Canada vs European players. no problem. yet on occasion someone in the same city would be laggy as hell :|..

    in an ideal world. TCP is no different than UDP. TCP however has data safetry protocols. And when data is lost, or fragmented TCP attempts to fix this. The problem is that TCP forces an in order handling of data. So even if TCP get's data, it will hold on until it fixes a lost message.

    so UDP is better, for twitch games due to this. As often game messages can ignore lost messages due to the fact that some of the same data is in the next message. and more up to date.

    but you can still do online gaming fine.

    as for what tools you have at your disposal

    1. Scirra WebSocket plugin.

    This will require you to build the entire infrastructure for your games. A lot of work, but you get what you design.

    2. Rexrainbow's Bottleneck. This is fairly fleshed out, and if you have programming talent. You can do the server logic in JS for NodeJS. However, bottleneck already covers rooms, connections, disconnects, join/leave... so on so forth.

    3. PubNub, a recent discovery is that PubNub has an old out of date C2 plugin. However, if people use it and prove a community for the PubNub plugin. They might end up supporting it more effectivly.

    4. VelotJay networking plugins, he has a few. A socket.io plugin and a photon behaviour. I'm not sure how much they are fleshed out for practical gaming.but i'm sure you can always tinker it up :)

    5. My unfinished photon client plugin. It mostly needs to have the loadbalancing features added. ie room lists. however, I did have a shooter game using it.

    6. And then for those with patience. With awarmenhoven and I are working on a network game api. While it's a JS api, it's built with C2 developers in mind. So the feature set is to be easy to use. but again. that's for those who are patient.

  • That is a lot of excellent working behind the scenes in C2.

    As a thought, basing the idea that "Sounds" does importing. Maybe a similar one for images. Where C2 imports images and packs them in the optimized spreetsheet. Yet use the custom naming convention to refer to them.

    That way players can import by URL(or another) which will get the optimized version. Yet still offer the benefit of removing from memory if needed for streaming content. Streaming from local files not internet source.

  • Looking good Lunarray :), feels more intuitive :)

    Anyway you can add also a pure position XY version of the target. Though, maybe it's not needed. However, it would make a fantastic moveto as part of LiteTween :)

    Also as a suggestion. If only a single Target X or Y is set. When doing a Start. The system should by default use the current X/Y.

    As it is now. I set my sprite by the normal position set(600, 800)

    object.litetween.setTarget(X, absolute, 400).

    object.litetween.start

    What happens is that my object will move to X400, but also go up to Y0. If I'm using only a single position target, I would assume that the other position vector won't be affected.

    I'm liking LiteTween a lot :) it's great. I'm sorry, but I'm already using it for production :P so I will have to suffer the changes :D

    Also I think keeping the create/inialize version for an entire package version is a good idea. Maybe add a comment that it's a more complex version?

  • This is the same response that Exit Games about Photon. There is an over abundance on the C2 community that everything needs to be first party.

    Rexrainbow has his bottleneck system, which no one uses. yet it's multi-player functional. It just requires the serve logic written in JS rather than C2.

    PubNub looks really interesting. It's interesting approach and very nifty. I'm going to look into broadcasting system more. If it covers enough I might re-evaluate Bubble.

    Good find :)

  • 2.5D is often referred to game play that still takes place on a 2D plane, but is graphically in 3D. The NDS Mario games are a good example of this.

    youtube.com/watch

  • I am wondering about loading images by way of URL?

    If I say

    blockSprite.loadurlimage("tree.jpg")

    then later on the same layout, same sprite

    blockSprite.loadurlimage("rock.jpg")

    what happens in the memory. Does C2 keep tree.jpg in ram, or does it clear?

    The reason I ask is because I want to create a stream loaded world. Where I need to clear up images I don't want to use anymore. If C2 reserves the image space then I could end up using a vast amount of ram.

  • I love your plugin and personally think with some tinkering that your tween should be standard.

    However, I find that working with strings to be annoying. Often I work calling variables from other sources. So using strings is inconvenient as I need to embed the var into a string.

    If your are going to stick with strings may I suggest splitting Set Target to

    Set Target

    Tween Name:

    Target Is: (drop down box for angle, opacity, X, Y....)

    Is Relative(true/false)

    value:

    Set Target position

    Tween Name:

    Is Relative(true/false)

    X:

    Y:

    as it is now. Using it is peculiar and not very inline with how C2 works naturally. LiteTween practically uses it's own little mini language. Which could be removed and made more natural with other C2 plugins.

    Also, I'm not a big fan of the naming system. As A thought. Wouldn't just adding additional LiteTween's and renaming them in the behaviour list be more "natural" to the C2 system. I know that by adding string names for tween can reduce the number of behaviours to just 1, but only Ease/LiteTween do this that I have used.

    I know it seems I'm complaining. I'm not really. I'm just offering some thought to have it feel more intuitive and simpler to use. Other than that. Loving lunaray tween mods :) top notch and one of the best :)

  • This is what I did

    docs.google.com/file/d/0B0V2EvCXNzYUbXY1Z1dmSm9jNGc/edit

    Now I know I used it wrong, but this causes an error on my computer.