Open stevedupras opened 8 years ago
and here is the picture of assets folder! :)
Where do you guys keep finding this links to OLD documentation for OLD deprecated runtime? :)
You need to take a look at new tutorial series: http://overlap2d.com/runtimes-documentation/ (Scroll down for tutorials)
Part 1, starts here: https://www.youtube.com/watch?v=bhvHm2sM0qo
You need to make sure you are using Editor version 0.1.2 And that you are using runtime version 0.1.2-SNAPSHOT
Also, check out this: https://github.com/UnderwaterApps/overlap2d-runtime-libgdx/wiki
hey i tried to follow the tutorial link that you gave me but i am now having a different issue but still not working... this is what im running: ubuntu 14.04 InteliJ Idea IDE 2016.1.1 Overlap2D Public Alpha v0.1.2 and using runtime 0.1.2-SNAPSHOT
This is whats happening:
I have followed the tutorial but when he gets to time point (approx 9:40) and uses the sceneLoader.getEngine().update(Gdx.graphics.getDeltaTime());
command i cannot find this command!!...
can you help with this issue
thank you:)
Steve
Is there any chance you were using previously old runtime versoin and just recently changed to snapshot? sometimes gradle keeps caches. Try clearing your gradle cache.
im really not sure how that is done?? i can always google it... but by chance do you know where on the itelliJ IDEA IDE it is located??
ohh i found it
ok so i didnt ever realize that gradle needed refershing so thats good to know and immediatly after the refresh it now shows the .getEngine(); :) thank you for your help!! so simple and yet i struggle with it lol ok continuing on with the tutuorial Steve
ok well after using the code it still has the same issue as in the beginning where it cannot find the project.dt and it is clearly in the assets folder:) as per the picture any ideas what to check or try next.
no worries, I have this frustration each time I forget :)))
hmmmm this is really weird about .dt file o_O Can you try and see if simple Gdx.files.internal("project.dt") works and reads it? and also go in depth with debug stack trace to see where it fails, put a breakpoint in it and test why it happens.
hello yes i know it is very strange about the .dt file i still cant seem to figure it out i did some dubuggin for my first time... not sure what i found out except that i thinlk the simple filehandle that i put the project.dt in i think it read as shown in the variable at bottom of the one picture but once the project hits the load"MainScene" line it fail and i can see it says file not found project.dt..???
i also ran an evaluate expression command with the Gdx.files.internal("project.dt"); and it looked like it read it fine...????
You can debug ResourceManager:346 in order to see exactly what path it tries to load, compared to your example that seems to "read it fine"
well i put a breakpoint on the resourceManager:346 and this is what ia see
well i did "step into" commands starting from ResourceManager:346 untill the program exits and it tries to locate the project.dt file but it says file not found and then went into a throw (RuntimeException)t; or throw new GdxRuntimeException(t); before terminating... any ideas??? i completely re-installed and re-downloaded both overlap2D and intelliJ IDEA and libGDX just incase these could have been the cause in some way but everything is exactly the same just cannot locate the project.dt file. i really like this application overlap2D but i havent yet seen it work and im really hoping it will as im sure it will be an asset for my game studio:)
any further help on this would be greatly appreciated:) Steve
Currently I have no idea what it can be, But maybe you can zip this test project and send it to me so I can test on my machine? I am sure we'll figure it out.
testfiles.zip ok i put the libGDX project in a zip called newtest.zip and the overlap2D project in the zip called overlap2d.zip thanks for the help
worked perfectly for me, here is the screen:
What kind of OS are you running?
maybe it's some kind of weird uppercase/lower case or file permission or something like that issue?
i am running ubuntu 14.04.... hummmm so looks like something on my end is messing it up......ok
i will look into the case and permissions but as far as i know everything should be ok in those respects, as i am quite fluent with my linux:)
it has been a few years since i have done a fresh start!! i think tomorrow i will do a complete re-install of everything including the OS and maybe along the way the issue will get resolved!
i will keep you posted as to the outcome!
happy to see the code works :)
Steve
also what OS are you running?
Thanks Steve! keep me posted, this is important to figure out, could be affecting others! I am using osX or Windows, and unfortunately there is no linux machine around for me to test this. I found linux to be counter productive as there is always something that goes wrong. But I know that others did use linux and things worked fine for them too.
ok good to know i will setup a dual boot win/linux to allow me for more testing for instances like this... :)
just a preliminary update i went and bought a mac today and loaded everything up on it, rebuilt the project on overlap2D and re-exported it to the assets folder, i then rebuilt the project in the intelliJ IDEA ide and got the same response as on the linux file not found project.dt..... I also rebuilt my main machine and did the dual boot linux and win10 so i will laod it all up on the windows and see the response and let you know:)
ok well I have some unusual progress and by that I mean that I have made NONE! except to find out that all OS are acting the exact same even if I build an entirely new project with different graphics and different locations it always goes back to "file not found: project.dt"
really not sure where to go from here but I am only getting more frustrated trying to use this overlap2d, as it seems all my other applications function perfectly on all OS and have no issues loading, compailing and running any of my other games I have made on the same ide and libgdx but without the use of overlap2d.
I would really like to use it but I am unable to get anything to work.......
here is the shots of it not working in windows 10 also to mention that all my OS were freshly installed and fully updated prior to installing and testing this issue!!
thanks in advance for your help
hey azakhary i have been doing some more test probing and have found a small issue but somehow i am unable to reproduce this bug but i will describe it anyways as to help this current problem because i think they might be related.
i created i new project while testing the current issue and i loaded it up in intelliJ with no overlap2d exports as of yet. i wanted to see the base badlogix logo show before i imported just to be sure that everything was working prior to importing the overlap2d files. when i ran the program it gave me a file not found badlogix.png!! and couldnt show the program as it had the same file not found error!!???
this seem to be the same error as the project.dt file not found the only problem was when i ran the program again to reproduce the error.... it somehow corrected the problem because the program ran correctly and showed the badlogix logo~!!!!.....
not sure really how this helps but maybe for you with your knowledge of these applications it will light up a light bulb :) lol
thanks im continuing to test different ideas but i am running out of fresh ones and fast! lol
Steve
I am sorry for not replying, it's not that I forgot, I just, have no idea, what else to try :D This is seriously wicked.
its ok! i completely understand, i am lost for a solution as well! it doesnt seem to make sense that it faults on all OS's. well i will keep you posted and if you come up with any let me know. i will try an wipe and reinstall again and will let you know:)
Maybe non-ASCI symbols in the path? Or permissions?
Try to set the working directory from your DesktopLauncher in IntelliJ to your assets folder.
Hi. I think we have the same problem. I have found the solution from this thread:
To summarize. Im using eclipse. I EXcluded the android project. Go to Run => Run Configurations.. => choose DesktopLauncher, Arguments Tab => Working Directory => Others then browse to yourproject-core/assets and click Apply => Run
And voila! i ran it.
Hello how are you this eve? i am having an issue that i cant seem to find a solution for regarding the following error: GdxRuntimeException: File not found: project.dt (Internal) i am trying to simply load a scene for the (http://overlap2d.com/making-physics-based-side-scroller-project-setup-part-1/) tutorial i am doing and i cant seem to find a solution for this error i have done all the steps perfect and have exported to the assets in the core project as i have only desktop and html selected for the libGDX build... here's my code
`package com.newtest.newtestoverlap;
import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.GL20;
public class NewTestOverlap extends ApplicationAdapter {
} ` and the gamestage class:
`package com.newtest.newtestoverlap;
import com.badlogic.gdx.Gdx; import com.badlogic.gdx.scenes.scene2d.Stage; import com.uwsoft.editor.renderer.SceneLoader;
/*
@author rads */ public class GameStage extends Stage {
` and the desktop launcher i added simply config.width = 1200; config.height = 800;
any ideas???