arrall's Recent Forum Activity

  • Not sure on that one. I'd be very interested to know though!

  • Ragevortex So you want to be able to generate a link directly to a customized composite image within a C2 page? Yep, you could simply check that one of the input boxes was not ""/blank. If blank: show creation menu. If non-blank: load the composite image (layout 3) based on transmitted data.

    In theory the base64 string will be transmitted properly, along with the other data fields. If I recall correctly, there are limits to how much data you can push through the URL like that. Varies by browser.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • http://endrage.com

    http://endrage.com/extreme

    They are based on ColorMorphing.com.

    -Improved graphics(?)

    -Extremely increased system requirements

    Can anyone run extreme, smoothly, on the Big Design setting?

    And, yes, it has a cross in it, but here is the capx. Feel free to change it.

    Transparency/Opacity seems to really impact draw calls. WAY more than anything else. The scaling of the Laser sprites doesn't help any.

  • ^The link just above had some great code, taking into account C2 physics.

    I put something together in a hurry in an attempt to help. It may just confuse you more and be needlessly complicated, but, drag the red dot, then release:

    http://arrall.com/c2/motionmarkers

    Something like that?

    I looked at your capx. Nice what you've done with the bow, string, and arrow. The arrow travels rather fast with minimal drawing of the bow.

  • I suppose I would love to have that as an option. It could also highlight every line that would be changed on the current sheet, before I hit the Yes button. Honestly, I'm not sure if it does. I only ran into the problem last night cleaning up an example for someone that had lots of unneeded objects. It was easy to get the line I needed back and then edit that variable out of the line of code before re-deleting the object.

    It shouldn't be much extra work on my part to simply do a search on the object before deleting. I assume it would be a lot of effort to change the editor, with little added functionality.

    Getting back to the original question:

    It does not notify you of unused events (events whose condition never evaluates to true?)

    Does it let you know when your Function is never used? That seems reasonable in a traditional language.

    I should have turned to this forum long ago. Great community, lots to learn from.

  • Yep. I don't know how else the editor would handle it really. I suppose I just wish it would warn me individually when one of my lines of code referencing multiple objects' parameters gets deleted because of an object deletion, rather than silently deleting the entire line of code.

    Other languages/IDEs do detect unused variables and functions, and warn you. I am not expecting that in C2 because the structure of your project is not just lines of code. I do look forward to improved autocomplete though!

  • This is the first I've seen this explained. Extremely helpful!

    Here is someone on YouTube explaining some of this with visuals

  • From what I see, if the image is in your project, it gets exported, regardless if it is used on any layouts. C2 will even warn you when you delete the last instance of an image/sprite from a layout that it is still included in the project.

    Also, when you delete something out of your object types, C2 deletes it entirely. This can cause lines of code to disappear in my experience.

  • I have seen this question before. The sentiment I see repeated often is "Do not get into making games from a drive to, or expectation of, making lots of money. Go for it if it is something you love doing."

    Most of what I make comes from ads in a screensaver/wallpaper app I made early on for iOS. I do not make much. It is not amazing, but I think it gets used because there are fewer of that type of app available. Likewise, my most popular Android app is a live wallpaper (not in C2) that is Christian themed. It gets noticed because it is decent, but also because there are fewer of that type of app on the market. Putting something out there that deserves good reviews, and actually getting those reviews helps a ton.

    As mentioned above, you get more out if you put more time into it. It helps if you are artistic or have access to someone who is. It helps if you know how to market/advertise and network.

    Learning to write code, learning to work with others, and being a part of a larger community focused on app development have the potential to open doors to things beyond apps in Construct 2.

  • Example:

    http://arrall.com/c2/passvarv2/

    Here is an example with no 3rd party plugins. (I hope) You pick a scale and an opacity offset and it sends it to the second app. I assume you could make the textboxes in the second app invisible/offscreen. It is a combo of php, javascript, and construct 2. But very little code to pull it off.

    I'm still not sure how to load a graphic from a base64 in Construct 2. But sending the string between apps should not be a problem.

    You don't always need 2 apps either. In the brainstorming app I was showing, it would be possible to have it navigate back to the same app with a different node-id passed based on whatever was pressed in the app.

    Also posted this to Ragevortex 's issue.

  • Example:

    http://arrall.com/c2/passvarv2/

    Here is an example with no 3rd party plugins. (I hope) You pick a scale and an opacity offset and it sends it to the second app. I assume you could make the textboxes in the second app invisible/offscreen. It is a combo of php, javascript, and construct 2. But very little code to pull it off.

    I'm still not sure how to load a graphic from a base64 in Construct 2. But sending the string between apps should not be a problem.

    You don't always need 2 apps either. In the brainstorming app I was showing, it would be possible to have it navigate back to the same app with a different node-id passed based on whatever was pressed in the app.

  • I'm trying to put together a better example, without all the extra code that made up that app. How are you getting the base64 string? In the example I'm making I am using DragNDrop zone's base64ImageString, but that is part of a plugin itself. Is there some simple way to get the base64 of a Sprite object?

    This example passes 3 variables from one app to another app. It seems to pass the base64string, along with the other parameters. I am just not sure how to convert the string back into a usable image again via C2.

    http://arrall.com/c2passvar/

arrall's avatar

arrall

Member since 24 May, 2014

None one is following arrall yet!

Connect with arrall

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies