FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

FIFE 0.4.0 has been released on 15th of January, 2017!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Niektory

Pages: [1] 2
1
Game creators corner / Re: segmentation fault while deleting instance
« on: November 15, 2015, 10:13:22 am »
Yeah, the engine does have some non-obvious traps like this, unfortunately. There's definitely room for better error reporting. Don't worry about posting your woes here, that's what the forum is for. :)

2
I don't think there's another way. You should be careful in general with calling engine functions in onInstanceActionFinished(), safer to do it in pump().

3
Help and troubleshooting / Re: Process finished with exit code 139
« on: November 11, 2015, 02:51:23 pm »
For bullets it's probably best to just move them manually with instance.setExactLayerCoordinates(), since there's no need for pathfinding in this case. Check the shooter demo for an example of how to do it.

If you need an additional layer with stuff movable by the pathfinder, it needs to be set as walkable (layer.setWalkable(true)), and it needs to have a CellCache (layer.createCellCache()) of appropriate size. The easiest way to ensure it's big enough is to place some instances on the corners of the map on that layer, it should be resized automatically.

4
Help and troubleshooting / Re: Process finished with exit code 139
« on: November 06, 2015, 08:35:03 am »
You need to add the following line after creating the instance:
Code: [Select]
fife.InstanceVisual.create(dummyInstance)

5
Python.

6
I think to build the current FIFE with Fifechan you also need the current Fifechan, and the one in the devkit is too old. Which means, you need to build Fifechan yourself first.

We could use another release, it's been a while since the last one...

7
I've attached a screenshot showing how to set CMake variables to point to SDL libraries. They're the 5 bottommost ones. You need to check "Advanced" to show them all. After setting them hit "Configure" and it should work.
I didn't have trouble with MinGW this time around. After installing the latest version (with mingw-get) to the default location it was detected automatically by CMake.

http://niektory.republika.pl/fifechan2.png

8
Game creators corner / Re: Economics (working title)
« on: December 28, 2013, 10:39:43 pm »
Nice!

9
Game creators corner / Re: Variable height terrain
« on: November 27, 2013, 10:25:44 am »
It's an ambitious project for my skills (maybe too ambitious, but I'm an optimist). Plus I tend to get distracted easily. It will take some time before this gets anywhere.

I'll keep posting my progress here, of course. But I have nothing interesting to show at the moment.

10
Game creators corner / Re: Variable height terrain
« on: August 20, 2013, 08:22:10 pm »
I've started implementing the AI. It's still not as smart as a brick. Getting there, though.

http://www.youtube.com/watch?v=69D2tN1UfyE

11
Game creators corner / Re: Variable height terrain
« on: July 02, 2013, 08:00:04 pm »
Why use the stairs when you can use mushrooms?

http://www.youtube.com/watch?v=iSLQ-553psY

12
Game creators corner / Re: Performance Worries
« on: June 17, 2013, 01:26:43 pm »
Try adding the following to the settings.xml file in the FIFE section (adjust the FrameLimit if needed):
Code: [Select]
<Setting name="FrameLimitEnabled" type="bool"> True </Setting>
<Setting name="FrameLimit" type="int"> 60 </Setting>
Does it help?

13
Game creators corner / Re: Variable height terrain
« on: May 29, 2013, 06:50:54 pm »

14
Help and troubleshooting / Trouble with CMake and Fifechan in Windows
« on: April 15, 2013, 09:27:44 am »
I'm trying to build Fifechan in Windows but I can't get CMake to cooperate.
If I try MinGW Makefiles it complains that it can't find the RC compiler.
If I pick Visual Studio 9 2008 it gets further but it complains about SDL_image.
I've tried setting the relevant variables but it doesn't seem to work...
I've never used CMake before so I might be doing something stupid.
Any ideas?

EDIT: Attachments aren't visible if you're not logged in...
http://niektory.republika.pl/cmake2.png
http://niektory.republika.pl/cmake1.png

15
Game creators corner / Re: CeGUI demos
« on: April 14, 2013, 02:54:01 pm »
I got them running in Linux (setting it up in Windows is still a mystery to me).
Unfortunately the configure button didn't work for me in the shooter demo, and it clicking New Game crashed it. Error message:
Code: [Select]
terminate called after throwing an instance of 'boost::python::error_already_set'
Aborted

Pages: [1] 2