• Source Engine:Flash
    134 replies, posted
[highlight]Current version: Alpha 0.001[/highlight] Hey, I've recently begun work on a "port" of the Source engine into flash. Features: -2D, not 3D. -A simple hammer-like visual editor. -Rather than BSPs, this Source Engine loads files as Strings. Here's an example of a simple room: [code] beginOBJ,type=func_brush,x=100,y=300,width=50,height=200,endOBJ,beginOBJ,type=func_brush,x=250,y=300,width=300,height=50,endOBJ,beginOBJ,type=func_brush,x=400,y=300,width=50,height=200,endOBJ [/code] These strings can be edited either via the text OR loaded into "Hammer"! -It's very easy to add NEW entities -It's coded in AS3 An image of an Env_Beam in my test environment: [img]http://img580.imageshack.us/img580/2199/envbeam.png[/img] List of entities currently made: -Prop_Static -Func_Brush -Env_Beam [highlight](User was permabanned for this post ("Breaking rules on a Alt" - Craptasket))[/highlight]
So you're making your own engine and calling it a Source port? :downs:
Shouldn't this be in the WAYWO thread considering you don't have that much in the way of a release, or content?
No, maybe he wants a thread to keep tracking his progress for all you readers? Programming isn't a release section with WAYWO tacked on.
Looks rather neat, anyway porting it over to AS2?
[QUOTE=CounterTunes;23738250]Looks rather neat, anyway porting it over to AS2?[/QUOTE] There's one advantage and many, many disadvantages to doing that, and the one advantage isn't that much of an advantage anyways. [editline]03:39PM[/editline] [QUOTE=Anthophobian;23738228]So you're making your own engine and calling it a Source port? :downs:[/QUOTE] Well, it's called a Source port because it's extremely similar to Source in that all the entities are the same, and the editor is extremely similar. Should a developer use this engine, it's easy to use for both newcomers and veterans of the real Source engine.
"An image of the first two entities". I lol'd.
[QUOTE=geel9;23738282]Well, it's called a Source port because it's extremely similar to Source in that all the entities are the same, and the editor is extremely similar. Should a developer use this engine, it's easy to use for both newcomers and veterans of the real Source engine.[/QUOTE] Only it isn't 3D and the map format is completely different.
This isn't a port, nor is it an engine. It's maybe an level editor. An engine has to be able to create any game the developers think of, it is simply a platform for creation. What you have made is a game level editor, like hammer. An flash game engine would be something like box2d or papervision, but even those aren't really engines.
[QUOTE=Occlusion;23740211]An flash game engine would be something like box2d or papervision, but even those aren't really engines.[/QUOTE] Box2D isn't a game engine, it's a physics engine.
[QUOTE=Occlusion;23740211]This isn't a port, nor is it an engine. It's maybe an level editor. An engine has to be able to create any game the developers think of, it is simply a platform for creation. What you have made is a game level editor, like hammer. An flash game engine would be something like box2d or papervision, but even those aren't really engines.[/QUOTE] True. I give you that. Ontopic: [highlight]I just finished env_beam![/highlight] The following image is taken in a TESTING ENVIRONMENT, where I can write in level scripts to test entities. [img]http://img580.imageshack.us/img580/2199/envbeam.png[/img]
This is still isn't a port though, maybe a [B]demake[/B].
[QUOTE=NotMeh;23740344]This is still isn't a port though, maybe a [B]demake[/B].[/QUOTE] Perhaps that's a better way of saying it, yes.
Porting "Source", an advanced gaming engine to Flash seems very inefficient. Source is programmed in C++. Flash is using a scripting language (not native, where C++ is native) called Action Script with which you are creating your port with. The framework's and API's supplied by Flash AS and C++ are very different. This means that some technical design concepts incorporated in Source work great when applied in C++ whilst using the DirectX and Windows API's, but that does not mean they work efficiently in Flash AS aswell. So instead of porting Source, create your own engine. Sure, you can take ideas, but do not copy the engine entirely.
[QUOTE=florian;23741632]Porting "Source", an advanced gaming engine to Flash seems very inefficient. Source is programmed in C++. Flash is using a scripting language (not native, where C++ is native) called Action Script with which you are creating your port with. The framework's and API's supplied by Flash AS and C++ are very different. This means that some technical design concepts incorporated in Source work great when applied in C++ whilst using the DirectX and Windows API's, but that does not mean they work efficiently in Flash AS aswell. So instead of porting Source, create your own engine. Sure, you can take ideas, but do not copy the engine entirely.[/QUOTE] I should clarify, I'm taking the entity structure(and the entities), but I'm writing my own code for them that makes sense in AS3.
Stop complaining, this could get interesting.
[QUOTE=ralle105;23742002]Stop complaining, this could get interesting.[/QUOTE] Danke very much. It is getting interesting; I'm coding up some of that sexy player collision code.
Flash... source... what? FLASH.
I finished adding a console to SourceFlash! [img]http://img842.imageshack.us/img842/4969/fag.png[/img]
Nice drawing
Only a few hundred more entities left! I think you've already covered all the complicated ones though, you really shouldn't have much of an issue with all the AI entities, lighting, physics.
[QUOTE=geel9;23755752]I finished adding a console to SourceFlash![/QUOTE] The new Chad Mobile.
Looks like with chad gone everyone needs a new guy to pick on :\
Callin' me a fag, he's askin' for it.
Actually since you can inject C++ code into flash ( using Adobe Lab's Alchemy ) it might be possible to make something decent.
I reckon if the console isn't a drawing then he should upload it now for us to test.
A snippet from the WAYWO thread on how the console was made. [QUOTE][img]http://dl.dropbox.com/u/2399384/lol.gif[/img][/QUOTE] Really whats the point of demaking the Source Engine
Alright, fine, the console is real: [url]foxprods.net/experimentalists/sourceEngine.swf[/url] Press ~ to open it, and type in "list" to list the possible commands. (Note: It is supposed to just be a white box before you open the console)
I don't have ze ~ key.
[QUOTE=geel9;23765140]Alright, fine, the console is real: [url]foxprods.net/experimentalists/sourceEngine.swf[/url] Press ~ to open it, and type in "list" to list the possible commands. (Note: It is supposed to just be a white box before you open the console)[/QUOTE] Make it another key, for every non American?
Sorry, you need to Log In to post a reply to this thread.