Welcome, Guest. Please login or register. Did you miss your activation email?

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 - Richy19

Pages: 1 ... 11 12 [13]
181
DotNet / SFML 2 problem
« on: April 20, 2011, 05:59:26 pm »
Also this is the code i have
Code: [Select]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SFML.Audio;
using SFML.Window;
using SFML.Graphics;

namespace GameBase
{
    class main
    {
        static void OnClose(object sender, EventArgs e)
        {
            // Close the window when OnClose event is received
            RenderWindow window = (RenderWindow)sender;
            window.Close();
        }
        static RenderWindow app;

        static void Main(string[] args)
        {
            // Create the main window
            app = new RenderWindow(new VideoMode(800, 600), "SFML window");
            app.Closed += new EventHandler(OnClose);

            // Start the game loop
            while (app.IsOpened())
            {
                // Process events
            app.DispatchEvents();

            // Clear screen
            app.Clear();

            // Update the window
            app.Display();
            }
        }
    }
}



And this is how i have the CSFML DLL's set up

182
DotNet / SFML 2 problem
« on: April 20, 2011, 05:38:20 pm »
Yea its in the same place as the .exe

183
Window / [SFML2] Window crashes when calling destructor (ATI)
« on: April 20, 2011, 05:05:17 pm »
Does anyone know if using the atigktxx.dll file linked in that site has any side effects to 32bit/XP users?

184
DotNet / SFML 2 problem
« on: April 20, 2011, 04:58:29 pm »
Hi im trying to use SFML with C# but when i try to run my program i get:

Could not load file or assembly 'sfmlnet-window-2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

I built the DLL's myself if it matters

185
SFML projects / Atom Zombie Smasher
« on: April 20, 2011, 03:42:09 pm »
Would you be interested in making a small tutorial on the city generation?
I want to make a procedural city in my project but i dont know where to start with it

186
Feature requests / Non-deprecated OpenGL
« on: April 20, 2011, 03:24:12 pm »
Quote from: "Laurent"
And if one day I switch to non-deprecated code there's no reason to support deprecated stuff anymore.


If you did switch to non-depreciated OGL hen please keep 2 versions so that people that dont need the new features can still use OGL 2 and keep backwards compatibility

187
SFML projects / Map generator (perlin noise)
« on: April 19, 2011, 09:46:37 pm »
Quote from: "Groogy"
Would be nice if you could do output directly to a 32 bit int array pointer(kind of like export to pixels or something) then it could be used directly as data instead of an image.


Oh sorry misunderstood the question.
IIRC it exports the perlin noise as a 2d int and then depending on the value of each value in it I then change the color of the pixel in the image.
This has made me want to retake the game idea I had, ive been needing a programming project for a while

188
SFML projects / Map generator (perlin noise)
« on: April 19, 2011, 09:11:19 pm »
Quote from: "Nexus"
The screenshots look very nice! :)

It could be a handy tool for random maps. Do you focus on the generation of images, or do you also plan to supply logical data which can be used in C++ programs?


At the moment it outputs it to an sf::Image which is then saved as an image its self but could be used as data for something else.
I did think of making a game using it but that never really happened :/

189
SFML projects / Map generator (perlin noise)
« on: April 19, 2011, 06:26:09 pm »
Made a some what simple map generator using SFML and perlin noise
It basically takes the perlin noise and applies color to the values.

Anyway heres a screen:



And heres the page if you want to see more screenshots
http://richy1913.byethost22.com/projects/perlin-noise-map-generator/

190
SFML projects / Gore Factor SFML
« on: April 19, 2011, 06:03:50 pm »
Pretty awesome :D
Is it in C++?

Also how are you doing all the physics? like is each body part a difrent entity?
I tryed something similar once but made the player one box, doing that just made him clip the floor at times

Pages: 1 ... 11 12 [13]