• What are you working on? v19
    6,590 replies, posted
[QUOTE=Dlaor-guy;31937207]My version control system consists of occasional Dropbox backups, copy & paste and comment & uncomment.[/QUOTE] That's not okay. Try SVN?
So, I started working on a new engine, it's mainly for moddable stuff. In the bin folder, there are the engine dlls and the libs, in the base folder there are the files for the game and the game.dll, and the root folder has the launcher and the lookup file for what mod should it start. The engine is in working state, but i'm going to add more stuff like resourcemanager, integrated console, lua support, logger and so on... [img]http://i.imgur.com/c4E42.png[/img] [img]http://i.imgur.com/hURLH.png[/img] [img]http://i.imgur.com/tLNi4.png[/img] The code used to make a simple entity: [csharp] public class info_player : IEntity, IRenderable, IUpdateable { public string m_baseName { get { return "info_player"; } } public string m_name { get; set; } //These properties are set to what you added in parameters... public bool m_renderEnabled { get; set; } public bool m_updateEnabled { get; set; } //This is automatically set public IScene m_parent { get; set; } Image img; Sprite spr; public info_player() { img = new Image(32, 32, Color.Red); spr = new Sprite(img); m_name = "whatever you want"; } public void Render() { //Just draw the sprite M_StaticGlobals.m_window.Draw(spr); } public void Update() { //there's a global class that contains the reference for window and other stuff... //you can shorten it by making a reference to M_StaticGlobals.m_window.Input if(M_StaticGlobals.m_window.Input.IsKeyDown(SFML.Window.KeyCode.S)) spr.Position = new Vector2(spr.Position.X, spr.Position.Y + 1); //To close the window with Escape instead of taskmanager if (M_StaticGlobals.m_window.Input.IsKeyDown(SFML.Window.KeyCode.Escape)) M_StaticGlobals.m_window.Close(); } } [/csharp] The starting function, when the dll is invoked... [csharp] public void Run(string[] args) { M_System sys = new M_System(); //With scenes, you can group your entities, so you can have a mainmenu scene and the game scene if you want M_Scene scene = new M_Scene(); //You can also make your own scenes with IScene //Just adding the entity to the scene, the first param is the entity //The second param is for starting the loading function of the entity (if the enity has ILoadable) //The third param is to enable/disable rendering (IRenderable), and the fourth param is for enabling/disabling updating(IUpdateable) scene.AddEntity(new info_player(), false, true,true); //add scene to sys, nothing new sys.AddScene(scene, false, true,true); //to start the looping sys.Run(args); } [/csharp] And the screenshot: [img]http://i.imgur.com/KlooS.png[/img] TLDR: An (WIP) sfml engine with "clean" modding ability EDIT: What's the problem layla?
[QUOTE=Chris220;31937879]I think you mean seagull[/QUOTE] Nope, it's a pigeon.
ITT: bird identification
It's a flamingo guys I'm a veterinarian
Its nyan cat in disguise
[video=youtube;2WNrx2jq184]http://www.youtube.com/watch?v=2WNrx2jq184[/video] [highlight](User was banned for this post ("This is not what you are working on" - mahalis))[/highlight]
On the topic of Artificial Intelligence, I plan on dedicating my whole programming life on trying to create a AI that can adapt to anything. I feel that it will be the future and that AI will be vital in the coming decades. I am currently trying to figure out a way on how to effectively design a software based AI.
something on topic: my verlet physics system is almost finished, gonna showcase it tomorrow or maybe later this evening and offtopic: [QUOTE=Dlaor-guy;31937207]My version control system consists of occasional Dropbox backups, copy & paste and comment & uncomment.[/QUOTE] eclipse (c++ and java) has built in version history, very nice and having the luxury of customising my IDE is IMO a huge plus (I have always both header and cpp files open in a splitscreen view, really really nice to program c++)
[QUOTE=Chris220;31886524]I'm pretty sure he's still working on it, just getting through it slowly. Can't blame him really, having to do it for each platform [sp]and having to play fallout: new vegas[/sp].[/QUOTE] Actually I was visiting Delft (University of Technology), where I'll be studying in two weeks. I value my future higher than a website, sorry.
[QUOTE=Mr.T;31940462]On the topic of Artificial Intelligence, I plan on dedicating my whole programming life on trying to create a AI that can adapt to anything. I feel that it will be the future and that AI will be vital in the coming decades. I am currently trying to figure out a way on how to effectively design a software based AI.[/QUOTE] Is that before or after you create a [URL=http://www.facepunch.com/threads/1115823-Large-Ducted-Fans-for-a-small-experimental-aircraft?highlight=]100kg solar-panel-powered VTOL surveillance UAV?[/URL]
[QUOTE=Dr Magnusson;31940749]Is that before or after you create a [URL=http://www.facepunch.com/threads/1115823-Large-Ducted-Fans-for-a-small-experimental-aircraft?highlight=]100kg solar-panel-powered VTOL surveillance UAV?[/URL][/QUOTE] I'll probably integrate it.
its a skynet joke
[QUOTE=Dr Magnusson;31940749]Is that before or after you create a [URL=http://www.facepunch.com/threads/1115823-Large-Ducted-Fans-for-a-small-experimental-aircraft?highlight=]100kg solar-panel-powered VTOL surveillance UAV?[/URL][/QUOTE] Not to mention his nuclear power plant and swedish political party :v:
[QUOTE=Overv;31940640]Actually I was visiting Delft (University of Technology), where I'll be studying in two weeks. I value my future higher than a website, sorry.[/QUOTE] Cool, what are you going to be studying?
[QUOTE=awfa3;31941163]Cool, what are you going to be studying?[/QUOTE] Applied Physics.
[QUOTE=Overv;31940640]Actually I was visiting Delft (University of Technology), where I'll be studying in two weeks. I value my future higher than a website, sorry.[/QUOTE] The next chapter of open.gl involves writing a custom shader, correct?
Wasn't this thread supposed to be locked at 5000 posts?
I got in to study Software Engineering and Manchester Metropolitan University. Is there anything I should know about software engineering courses?
[QUOTE=Jacko2007;31942298]I got in to study Software Engineering and Manchester Metropolitan University. Is there anything I should know about software engineering courses?[/QUOTE] You'll probably engineer software.
[QUOTE=Jacko2007;31942298]I got in to study Software Engineering and Manchester Metropolitan University. Is there anything I should know about software engineering courses?[/QUOTE] As tempting as it sounds, don't wear one of these yellow construction helmets. You're not that kind of engineer. Also, speaking of software engineer universities, I went to a information day at one near me, and they handed me a big stack of badly printed papers with all the information I would never want. But they apparently had a really big problem stapling them, being unable to staple all ~100 of them at the same time. So what they did was daisy-chain staple them together which is the worst idea anyone has ever had. It's hard to explain so I drew a picture. [t]http://i.imgur.com/c2KIQ.png[/t] I guess I'm lucky it wasn't 200 pages.
[QUOTE=Map in a box;31942519]You'll probably engineer software.[/QUOTE] Heuheuheheuheuhehuheuhehuehu
[QUOTE=Dlaor-guy;31936140]I was just messing around with fancy effects for my main menu, and then I accidentally made this. [img]http://dl.dropbox.com/u/4081391/menuh.gif[/img] Although it looks neat, I don't think I'll actually use it :v:[/QUOTE] This looks like computer terminals in Lost in Space. Those are awesome. So is this. Mind if I steal it? :D
[QUOTE=Maurice;31943068]As tempting as it sounds, don't wear one of these yellow construction helmets. You're not that kind of engineer. Also, speaking of software engineer universities, I went to a information day at one near me, and they handed me a big stack of badly printed papers with all the information I would never want. But they apparently had a really big problem stapling them, being unable to staple all ~100 of them at the same time. So what they did was daisy-chain staple them together which is the worst idea anyone has ever had. It's hard to explain so I drew a picture. [t]http://i.imgur.com/c2KIQ.png[/t][/QUOTE] I got a bunch of letters like that once in one of those huge yellow padded envelopes - [t]http://www.recyclethis.co.uk/wp-content/uploads/2007/03/padded_envelope250.jpg[/t] They literally folded them into it and crushed it until it fit and then mailed it to me and I had a hell of a time getting it all out And it was junk mail
[QUOTE=Overv;31940640]Actually I was visiting Delft (University of Technology), where I'll be studying in two weeks. I value my future higher than a website, sorry.[/QUOTE] Oh hey, nice job! I was going to study there, but most of the courses I was interested in were in Dutch only (and even 5 years of exposure to the didn't manage to help me learn this throat disease of a language :v:). And speaking of universities, I got accepted both at a Physics course at the University of Warsaw and a EE course at the Warsaw University of Technology. A coin toss made me decide for the latter.
I've decided to rework my build system's architecture (again. Last time I swear. Not that any of you are looking forward to it :v:). It's not a huge change aside from the fact that the older version depended on the interface and what not being 'pythonic'. Obviously F# is not pythonic. :v: I looked around at some of the build systems that have popped up recently, and I realized that while my build system had the illusion of being task based, it was really just me hard-wiring some stuff, and then letting me add arguments and such (Though that is what a build system technically does). In hindsight, this was a bad idea. NAnt is alright, minus the whole "We're no different than Ant or Scons when it comes to file tracking" bit, (as well as the whole "your config files are in XML" thing), so I'm taking an approach a bit like theirs, but also incorporating a few things I've learned from writing my own, as well as looking at what Waf does (Being task based 'for realsies', as well as dependency graph building etc). In some prototyping stuff, I wrote this: [code] with project('Simple') as simple: project.property['debug'] = True with target('clean') as clean: clean.description = 'remove all generated files' if exists('bin/Simple.exe'): clean.delete = 'bin/Simple.exe' if exists('bin/Simple.pdb'): clean.delete = 'bin/Simple.pdb' with target('build') as build: build.description = 'compiles the source code' build.mkdir = 'bin' with task('csc') as csc: csc.target = 'exe' csc.output = 'bin/Simple.exe' csc.debug = project.property['debug'] csc.files = glob('*.cs') with target('run') as run: run.depend = project.targets.build run.execute = 'bin/Simple.exe' [/code] Which acts a bit like [code] <?xml version="1.0"?> <project name="Simple" default="run"> <property name="debug" value="true"/> <target name="clean" description="remove all generated files"> <delete file="bin/Simple.exe" if="${file::exists('bin/Simple.exe')}" /> <delete file="bin/Simple.pdb" if="${file::exists('bin/Simple.pdb')}" /> </target> <target name="build" description="compiles the source code"> <mkdir dir="bin" /> <csc target="exe" output="bin/Simple.exe" debug="${debug}"> <sources> <include name="Simple.cs" /> </sources> </csc> </target> <target name="run" depends="build"> <exec program="bin/Simple.exe" /> </target> </project> [/code] I guess one could argue that I should just modify NAnt, or maybe generate XML, but eff that, that's not fun :v:
[QUOTE=Maurice;31943068]As tempting as it sounds, don't wear one of these yellow construction helmets. You're not that kind of engineer. Also, speaking of software engineer universities, I went to a information day at one near me, and they handed me a big stack of badly printed papers with all the information I would never want. But they apparently had a really big problem stapling them, being unable to staple all ~100 of them at the same time. So what they did was daisy-chain staple them together which is the worst idea anyone has ever had. It's hard to explain so I drew a picture. [t]http://i.imgur.com/c2KIQ.png[/t] I guess I'm lucky it wasn't 200 pages.[/QUOTE] They need one of those awesome industrial staplers they have at my school, they're like fucking spikes, that curve at the end, so it can staple like crazy amounts of shit. [editline]26th August 2011[/editline] [media]http://www.youtube.com/watch?v=iNcNZmg4NBs[/media] Redoing the intro to my game, took the parallex idea (thanks Maurice I think?) I'm going to make the fire that was there a particle effect. Unsure what to do with the last frame stll. [editline]26th August 2011[/editline] I still have to put the text back in the new frames with a new font (Ubuntu-L looks like a placeholder.) so yea, just fixing it up to match the retroey style of the game itself. [editline]26th August 2011[/editline] Why I made an intro in the first place is a good question, but it's there so I may as well fix it. This is more an 'art' post I guess, but it has to do with my game I've been working on, and I wanted C&C from people who have seen the vids I uploaded/played it as to if it fit the game's style.
[QUOTE=ichiman94;31938187]words[/QUOTE] don't use m_ in c#
How did I never see this? [media]http://www.youtube.com/watch?v=3p9XUwIlhJg[/media] Going to have to give it a try.
[QUOTE=high;31949573]How did I never see this? [media]http://www.youtube.com/watch?v=3p9XUwIlhJg[/media] Going to have to give it a try.[/QUOTE] This is super useful. I really love it for debugging. Makes everything cleaner and more straightforward.
Sorry, you need to Log In to post a reply to this thread.