YoYoGames / YourWorld

Open source top down world, written with GameMaker: Studio project
42 stars 20 forks source link

Shader Error on Compile #3

Open dcrawl opened 10 years ago

dcrawl commented 10 years ago

I just downloaded a copy of Your World and received this compiler error.


FATAL ERROR in Vertex Shader compilation ShaderName: RenderPlusSelection

D3DXCompile failed - result

at gml_Script_RenderMap (line 52) - shader_set( _shader );


stack frame is gml_Script_RenderMap (line 52) called from - gml_Object_oMap_DrawEvent_1 (line 9) - RenderMap( global.groundx1,global.groundy1,global.groundx2,global.groundy2, texture, sprtexture, global.CityShader, global.SpriteShader );

RobQuistNL commented 10 years ago

Do you have the DirectX9 distributables installed? http://www.microsoft.com/en-gb/download/details.aspx?id=35

This question has been asked a couple of times; http://gmc.yoyogames.com/index.php?showtopic=586601

dcrawl commented 10 years ago

Thanks, I just found those this morning. I also posted a note in that thread that it might be a good idea to put that kind of information in the Readme file so that it would cut down on bothering you. ;)

dcrawl commented 10 years ago

I also asked if it would be possible to add in the instructions on how to setup the project in GM:S for those of us not familiar with source code repositories. Do you think that might be possible? Thanks. :)

gnysek commented 10 years ago

If that big "DOWNLOAD AS ZIP" button on right of project main page isn't understandable enough, don't know what can be more. There's also clone button if you want to clone it using GIT and keep updated. And if you want something else - there is GIT documentation: http://git-scm.com/documentation - don't think that this content should be duplicated by YYG while they can do more important things. This project don't work with GM:S "team features" cause GM:S supports SVN from IDE by now, but it supports anything you want outside IDE (and still that's best solution to manage).

dcrawl commented 10 years ago

So basically, your read me, after listing the project requirements, could just have a simple explanation of the best way of installing the project which would be to 1) download if you want a static copy or 2) clone if you want to have your own project that consistently updates the code.

I don't think anything more complicated is needed. More than that, as you said, can be found in the git documentation. Do you think that perhaps a simple explanation such as that could be of use to those just starting out? I found your explanation informative. Thanks.

RobQuistNL commented 10 years ago

@dcrawl There is no information needed.

Get code. Open in GM:S.

If there were stuff to be compiled / information on automated tests / information on how to set up a devbox, then that would be in a readme file.

Basic usage of Git or Game Maker studio shouldn't reside in the README of the repository.

RobQuistNL commented 10 years ago

@YoYoJack @YoYoGames this issue can be closed.

raseribanez commented 7 years ago

You dont need to install the project itself - but you DO have to have Gamemaker Studio installed to be able to read and run it properly. and you need to obviously clone/download this project from here - to run inside Gamemaker.....

Assuming you have Gamemaker installed from www.yoyogames.com - and also assuming you know that Gamemaker is a program that is used to write 2D games primarily, but can also be used to run games that were made in Gamemaker......you need to do the following to play/run this game:

Just hit the clone button which will be on the main repository page for this project.Then a "Download as Zip" appears just beneath the Clone button

Go to the downloaded zip folder on your PC / Extract it (right mouse click should have the option to extract)

Then open up the Extracted file (will have the same name as the zip and should be in the same directory depending on where you chose to extract it to)........Inside the Unzipped folder is another folder called:

YoYoCityEngine.gmx

Inside this is another file with a similar name

YoYoCityEngine.project.gmx - should have a black and green icon

You can open it a few ways...but just Double Clicking it it the easiest method - As Long as you have Gamemaker Studio installed it will open up as a project - you can see the code and sprites and so on

Once inside the project to Run the game either:

click the green tick at the top of Gamemaker (above the resource tree - 5th icon from left) or, Hit: F5 or, Use the Menu system right up top - click "Run" then "Run Normally"

From what I see you may need to satisfy a few other system dependencies to actually play it - I couldn't get it to run on a week old (newest) version of Gamemaker