games that support external files

Ideas for Game Editor evolution.

games that support external files

Postby j2graves » Wed Sep 07, 2011 1:21 pm

This may have been requested before, but I'm not sure.
There are games out there that allow players to import their own images and songs into the game. This allows for user-created content without the hassle of programming an in-game editor. Would it be possible to give GE a feature like this? the way I imagine it, you could make an actor, give it its events, and then in script editor (or from the list) you could add the function "getMusic" or "getAnimation". for getMusic, you could set what kind of sound files are compatible. for getAnimation, you could set the limits of the dimensions, and whether the upper left pixel will be set to transparent or not. Of course, in both situations, when executed in the exported game, a window will appear over the actor that has the event, which requires the player to type the file directory. And in the case of animations, specify whether it's single file or multiple file, x frames, y frames, and so on.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: games that support external files

Postby ikarus » Wed Sep 07, 2011 4:31 pm

I'm confused???
>>>>>>>>>>>>>>>>>>>>> http://www.code1011.com <<<<<<<<<<<<<<<<<<<<<<<
ikarus
 
Posts: 143
Joined: Fri Aug 12, 2011 3:06 am
Score: 11 Give a positive score

Re: games that support external files

Postby Jagmaster » Wed Sep 07, 2011 9:52 pm

Makes sense to me. :) We need this if it's possible.
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: games that support external files

Postby ikarus » Thu Sep 08, 2011 8:03 am

Jagmaster wrote:Makes sense to me. :) We need this if it's possible.

OH wait! I reread it k, user generated content! I thought you meant when making the game, I was like, "Don't we already have this?"
Cool, yeah that'd be neat have
>>>>>>>>>>>>>>>>>>>>> http://www.code1011.com <<<<<<<<<<<<<<<<<<<<<<<
ikarus
 
Posts: 143
Joined: Fri Aug 12, 2011 3:06 am
Score: 11 Give a positive score

Re: games that support external files

Postby j2graves » Sat Sep 10, 2011 10:32 am

I've been thinking more about how this would work. The way I described this above, it would only allow an actor to have one user-made animation... unless...
Unless GE has some kind of "animation holders". Basically how I imagine it would work, is that when you click on the "add animation" button in Game Editor, you'd get a dropdown menu with "New Animation", "Animation Holder" and "Placeholder". If you select New Animation, you'd get the add animation option we have in the current GE. In Animation Holder, you'd be prompted to give the new animation holder a name.

Then when you use the getAnimation function, somewhere in the function you'd assign the user-added animation to one of the Animation Holders you added. Then later, when you select "changeAnimation", you could either select from the animations you already imported to the actor in GE, or one of the Animation Holders. And whatever animation assigned to that Animation Holder would be displayed. If no animation is assigned, you'd get a Placeholder Animation (Animation Holder =/= Placeholder Animation). You can only give an actor one placeholder animation. The way a placeholder animation would work would be like how the GE logo acts as a placeholder animation for actors in GE without animations. I hope this makes sense...
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: games that support external files

Postby SuperSonic » Tue Sep 20, 2011 9:29 pm

Didn't feral make a sprite rotator that allowed you to import gfx?

viewtopic.php?f=4&t=5869

This is what you mean right?
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: games that support external files

Postby Game A Gogo » Wed Sep 21, 2011 1:16 pm

You can import external images, but you need to use a canvas actor to display them, and it's rather slow because GE relies solely on the CPU so you can't expect to have animations or it'd slow the whole game down. I wish GE could display a whole array at once in a canvas instead of having to make the function yourself since GE functions are faster than doing the code yourself
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest