Jump to content

aiaf

Members
  • Content Count

    509
  • Joined

  • Last visited

Community Reputation

171 Excellent

About aiaf

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male

Recent Profile Visitors

6,688 profile views
  1. Ok , i created a test.dll that does the curl connection. extern "C" __declspec(dllexport) int test(); Then another exe that load/executes that, works for me. Make such simple test on your machine. Have a look here maybe is something related to how the plugin,curl are built: https://docs.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=vs-2019 Update to the latest libcurl, and build the dll on your machine in case you didnt do that allready. Dont have other ideas sry. http://www.dependencywalker.com/ on your plugin dll , you can see the exported function, but i suppose all is ok. https://drmemory.org/ on exe , worth a try but i doubt it will say something.
  2. I did a simple test with exe, works for me also. typedef CURL* (__stdcall *f_curl_easy_init)(void); typedef CURLcode (__stdcall *f_curl_easy_setopt)(CURL *curl, CURLoption option, ...); typedef CURLcode (__stdcall *f_curl_easy_perform)(CURL *curl); typedef void (__stdcall *f_curl_easy_cleanup)(CURL *curl); typedef const char* (__stdcall *f_curl_easy_strerror)(CURLcode); int main() { HINSTANCE hGetProcIDDLL = LoadLibrary("libcurl-d.dll"); if (!hGetProcIDDLL) { std::cout << "could not load the dynamic library" << std::endl; return EXIT_FAILURE; } f_curl_easy_init cinit = (f_curl_easy_init)GetProcAddress(hGetProcIDDLL, "curl_easy_init"); if (!cinit) { std::cout << "could not locate the function" << std::endl; return EXIT_FAILURE; } You built yourself the curl dll or got it from some other place ? Maybe your curl dont support some protocols ? curl.exe -V curl 7.69.1 (Windows) libcurl/7.69.1 Release-Date: 2020-03-11 Protocols: dict file ftp gopher http imap ldap pop3 rtsp smb smtp telnet tftp Features: AsynchDNS IPv6 Largefile NTLM I think you should check your plugin , my feeling is the problem is there. Use curl_easy_strerror to get the textual representation of your error.This should give some clues. CURL_EXTERN const char *curl_easy_strerror(CURLcode);
  3. aiaf

    Forth demo 1

    Maybe, but it was a worthy fight with good results.
  4. aiaf

    Still Here

    Best wishes and good recovery. Alex
  5. Hello, I release a demo of the forth community project. Read the story and try the demo:
  6. aiaf

    Forth demo 1

    Hello, Forth demo 1 (community project): forth_demo_1.zip Below you can read the story. About the end of 2018 i started a community project (forth). We got 10 people join, we used this forums to organize , discord, git etc. Some people contributed only at beginning , so there are actually 3 main contributors: mdgunn, slastraf and me. Organizing was hard and trying to keep a focus.After much discussion a theme + game idea was chosen. 3rd person game with a combination of sf and fantasy theme. Anyway tried my best with this and things moved along. In retrospect using voice comms would have been a better solution. Project can be seen here: Slastraf was doing character controler and modelling. mdgunn made a really good design document, and working on the first levels (cryo room etc). Game drifted into a more sf setting and first person. I learned lot of stuff and different workflows then i was used to , especially on modelling side and editor. Even with the ruff edges and problems for me it was good times working on this project. You learn so much more then working alone, so many thanks to mdgunn and slastraf. Some work was done, then slow times also , lack of time and maybe a lack of communication at the moment is semi abandoned. But the project has really good stuff in the git, so much work went into it. So im releasing a demo with some of the levels for the community. Its only parts of what we planned in the design document .I linked the levels in a way it makes some sense, not finished.It contains 4 playable levels. But it shows some original gameplay and will give you some idea what forth is about. Below some screens Menu: ship control room: VR level Dream level 1 Dream level 2 Cryo room The cryo room was supposed to be the initial level of the game , but somehow arrived in a state that if you make any change and save it crashes the editor. I included because is one of the best looking levels, wanted to link it to the others levels, even in unfinished state, but coudnt. For the vr level read the text carefully.Or you will not understand the mechanic that let you pass in the other levels. If you want to see individual level without following the game sequence use (loadlevel 1 to 5): forth.debug.exe +loadlevel 1 I dont know if we ever finish this game , but i had to do this post. Thanks everyone , this was long. Hope you like it and any feedback apreciated.
  7. aiaf

    Still Here

    Im thinking to release a demo out of what we have here, will include 4 complete levels (the robot computer room , the vr room, dream level 1 and 2. The cryo room will be included separately , i tried to link it to other levels but everytime i save the map it crashes the editor ... Hope you guys ok with this. In case somebody finds time to do some further work will be no problem.
  8. aiaf

    VSCode + Custom Build Script

    Welcome back Visual Code is awesome. The c++ debugger is good also, no more gdb from terminal. Another thing somehow the leadwerks editor is now working on ubuntu 18.04 I use some cmake project (linux/windows), can send if you want. When i hear arpgs im thinking Diablo1, maybe something more modest in size but with same kind of dark feeling
  9. aiaf

    Structura

    Sprites are underrated:
  10. aiaf

    Structura

    A sf rts game im working on and off since i started with Leadwerks. Making a post to show my progress. Working on populating the world: What happens when going full retard and not caring about release date The below is an example of my macro system, the game has at he moment about 140 commands that all can be executed from the ingame terminal. This macro creates the screenshot below: left socket attach left tunnel 3 attach left mine attach right socket attach right tunnel 3 attach right power_plant attach front socket attach front tunnel 3 attach front mine attach back socket attach back tunnel 5 attach back logistic_center attach sockets_storage_fill sockets_storage_fill sockets_storage_fill sockets_storage_fill sockets_storage_fill sockets_storage_fill sockets_storage_fill sockets_storage_fill sockets_storage_fill sockets_storage_fill right powerplant_online left mine_online front mine_online sentinel_undock At the moment just cleaning up and polishing current functionality. Soon more screenshots, movie if i have time to do.
  11. 2019 was slow year for my gamedev hobby. Forth community project really has some good original content, i will make sure it gets released in a form or another. Still working on my game when i find the time. Lurking around and reading about leadwerks 5 progress heh, go Josh! Maybe we get another tournament after Le5 is release Somehow the tournament gives good motivation to make games. Cheers to everyone and a good new year. Some pulsating text example: #ifndef __S_PULSETEXT_H__ #define __S_PULSETEXT_H__ #include <string> #include "Leadwerks.h" using namespace Leadwerks; class PulseText { private: Leadwerks::Context* context; std::string text; double alphaInitial; float x,y; double r,g,b; bool pulse; float rate; public: PulseText(Leadwerks::Context* context, float x, float y, std::string text); void SetColor(float r, float g, float b); void SetPulse(bool active); void SetRate(float rate); void Update(); }; #endif #include "PulseText.h" using namespace Leadwerks; PulseText::PulseText(Leadwerks::Context* context, float x, float y, std::string text) { this->context = context; this->text = text; this->x = x; this->y = y; r = 0.7; g = 0.7; b = 0.7; alphaInitial = 1.0; pulse = true; rate = 0.005; } void PulseText::Update() { context->SetBlendMode(Blend::Alpha); context->SetColor(r, g, b, alphaInitial); if (pulse) { if (alphaInitial > 0) { alphaInitial = alphaInitial - Time::GetSpeed() * rate; } else { alphaInitial = 1.0; } } context->DrawText(text, x, y); context->SetColor(0.7, 0.7, 0.7, 1.0); context->SetBlendMode(Blend::Solid); } void PulseText::SetColor(float r, float g, float b) { this->r = r; this->g = g; this->b = b; } void PulseText::SetPulse(bool active) { pulse = active; } void PulseText::SetRate(float rate) { this->rate = rate; }
  12. aiaf

    Still Here

    Good news. I will be doing small polishing stuff , add sounds etc.
  13. aiaf

    Still Here

    I only added the levels described above.You will need to add to git anything else (cutscenes,temple etc). Below a diagram on how the levels are linked at the moment.To enter vr level you click on the robot in the computer room.Level 4 and 5 when finished will load back Level3. So far is making sense to me, we can change anytime as needed, tell me what you think. Also im thinking to add an island map (there was one that looked good) and link that also to the level3.I think would be nice story wise if the VR level could load dream levels and also real levels (be like a teleporter). Cryo room + temple, ship exit is not linked yet Is a draw.io diagram , i can share if necessary.
  14. aiaf

    Still Here

    I created a new git repo , moved there only the ok levels + resources, and shuffled a bit the order. Level1 - Cryo room Level2 - Ai computer room Level3 - VR level with the monolith Level4 - The arcade dream level1 Level5 - The dream level2 Now the level 3 is a level hub , you enter certain commands and you can move to level 4,5 or come back anytime to the level3. But i have some big problems ... I had another try to add some gameplay to cryo room , but it crashes the editor every time i hit save.Im really annoyed by this dont know what to do.... i like the cryo level. For now i abandon this and start the game from the level 2.Also i cannot attach some scripts... and the crashing of editor starting to piss me off. My idea was to release a demo , we got some nice stuff here , but if you guys coming back is great. I added you the to new git: https://bitbucket.org/alexandru_afrasinei/forth-first-blood/
  15. aiaf

    The flat earth

    This flat earth thing just shows how bad the education system is.Maybe astronomy should be mandatory study ...
×
×
  • Create New...